diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-05-31 01:53:12 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-05-31 01:53:12 +0200 |
commit | 44b3d860cb85ccb4edd52fb0dcf6a4102d12e82a (patch) | |
tree | 537e871f1d923c01c3d5098fd2958c198d093977 /ftplugin/javascript.vim | |
parent | 5a65ffe66d19da9989ae6b71962830ca6c80f5b5 (diff) | |
download | vim-polyglot-2.9.1.tar.gz vim-polyglot-2.9.1.zip |
Updatev2.9.1
Diffstat (limited to 'ftplugin/javascript.vim')
-rw-r--r-- | ftplugin/javascript.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/javascript.vim b/ftplugin/javascript.vim index f89932f2..2b085bc1 100644 --- a/ftplugin/javascript.vim +++ b/ftplugin/javascript.vim @@ -1,5 +1,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1 setlocal suffixesadd+=.js +if (v:version < 704 || (v:version == 704 && !has('patch002'))) && exists('®expengine') + set re=1 +end endif |