Skip to content

Commit 3072958

Browse files
authored
Merge pull request #543 from dmitrivereshchagin/update-ftplugin
Update filetype plugin
2 parents 653858c + 8cf97bd commit 3072958

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ftplugin/javascript.vim

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
" Vim filetype plugin file
2+
" Language: JavaScript
3+
" Maintainer: vim-javascript community
4+
" URL: https://github.com/pangloss/vim-javascript
5+
16
setlocal suffixesadd+=.js
2-
if (v:version < 704 || (v:version == 704 && !has('patch002'))) && exists('&regexpengine')
3-
set re=1
4-
end
7+
8+
if v:version == 703 && exists('&regexpengine') || v:version == 704 && !has('patch2')
9+
set regexpengine=1
10+
endif

0 commit comments

Comments
 (0)