Move 'suffixesadd' from after/ftplugin to ftplugin

In #46, the question was where to put this option, and why some other
plugins put it in the 'after' directory. Vim-javascript puts it in the
'after' directory because they want to keep the settings in the ftplugin
shipped with Vim, and only add the 'suffixesadd' option. Since Vim
doesn't ship with a Vue plugin, we can safely put this option in ftplugin.
This commit is contained in:
Adriaan Zonnenberg
2017-02-21 22:00:26 +01:00
parent 0d5a392a11
commit c122cb8c29
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +0,0 @@
setlocal suffixesadd+=.vue

View File

@@ -8,3 +8,5 @@ if exists("b:did_ftplugin")
endif
runtime! ftplugin/html.vim
setlocal suffixesadd+=.vue