vim-polyglot/ftplugin/javascript.vim

9 lines
225 B
VimL
Raw Normal View History

2015-07-19 18:57:00 +02:00
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1
setlocal suffixesadd+=.js
2016-05-31 01:53:12 +02:00
if (v:version < 704 || (v:version == 704 && !has('patch002'))) && exists('&regexpengine')
set re=1
end
2015-07-19 18:57:00 +02:00
endif