From c122cb8c29a6c491384233d8eb4457c77722fa3e Mon Sep 17 00:00:00 2001 From: Adriaan Zonnenberg Date: Tue, 21 Feb 2017 22:00:26 +0100 Subject: [PATCH] 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. --- after/ftplugin/vue.vim | 1 - ftplugin/vue.vim | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 after/ftplugin/vue.vim diff --git a/after/ftplugin/vue.vim b/after/ftplugin/vue.vim deleted file mode 100644 index 55390e3..0000000 --- a/after/ftplugin/vue.vim +++ /dev/null @@ -1 +0,0 @@ -setlocal suffixesadd+=.vue diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim index 4bacb35..64e58c5 100644 --- a/ftplugin/vue.vim +++ b/ftplugin/vue.vim @@ -8,3 +8,5 @@ if exists("b:did_ftplugin") endif runtime! ftplugin/html.vim + +setlocal suffixesadd+=.vue