summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-09-11 13:34:02 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-09-11 13:34:02 +0200
commit98e021e969637da8e88e66a0055f3a40ef4fcdfc (patch)
tree786e116dec27fb0209d69cac29eea6c64d078b35 /ftdetect
parentb8d993932931549cc2bf8158abc9bad026d14c11 (diff)
downloadvim-polyglot-98e021e969637da8e88e66a0055f3a40ef4fcdfc.tar.gz
vim-polyglot-98e021e969637da8e88e66a0055f3a40ef4fcdfc.zip
Wrap ftdetect file in augroup, fixes #153
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 5eb3f089..cc1ade60 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1,3 +1,4 @@
+augroup filetypedetect
" Enable jsx syntax by default
if !exists('g:jsx_ext_required')
let g:jsx_ext_required = 0
@@ -983,3 +984,4 @@ au BufRead,BufNewFile *.vm set ft=velocity syntax=velocity
endif
+augroup END