vim.vam: fix filetype detection

According to https://github.com/MarcWeber/vim-addon-manager/blob/master/doc/vim-addon-manager-additional-documentation.txt#L1310
`filetype on` must be called after all VAM plugins are initialized.
Otherwise vim set `conf` filetype for some files containing hash tags.
This commit is contained in:
Jörg Thalheim 2017-02-13 00:53:20 +01:00
parent 6b2ea7ec6e
commit b7d65f8af0
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -262,13 +262,14 @@ let
in writeText "vimrc" ''
" minimal setup, generated by NIX
set nocompatible
filetype indent plugin on | syn on
${vamImpl}
${pathogenImpl}
${vundleImpl}
${neobundleImpl}
filetype indent plugin on | syn on
${customRC}
'';