mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-07 01:54:27 +08:00
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:
@@ -1 +0,0 @@
|
||||
setlocal suffixesadd+=.vue
|
||||
@@ -8,3 +8,5 @@ if exists("b:did_ftplugin")
|
||||
endif
|
||||
|
||||
runtime! ftplugin/html.vim
|
||||
|
||||
setlocal suffixesadd+=.vue
|
||||
|
||||
Reference in New Issue
Block a user