summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2023-10-14 11:46:26 +0200
committercos <cos>2023-10-14 11:48:47 +0200
commit881d14ef241063c934a5ef28ce0413a8f84308e4 (patch)
tree42d3227cec8aff7600c63c885f1177f03e9255e4
parent3db59dd0a0f7c40ae866df608e9ea133c52f94e4 (diff)
downloadvim-preseed-881d14ef241063c934a5ef28ce0413a8f84308e4.zip
Move plugin from ftplugin/ to syntax/ folder
Thanks to bauen1 on #debian-boot for pointing out that the original location does not always work. Specifically loading with vim-plug was problematic. The syntax/ folder seems like a more appropriate place anyways. Investigating the cause a bit more; It appears that even though it is claimed at https://github.com/junegunn/vim-plug that `call plug#end()` should do `syntax enable` and `filetype plugin indent`, adding that exact `syntax enable` at the top of .vimrc makes loading from ftplugin/ work with vim-plug. Loading from syntax/ works with vim-plug also without the seemingly, but actually not, superfluous duplication of `syntax enable`.
-rw-r--r--syntax/preseed.vim (renamed from ftplugin/preseed.vim)0
1 files changed, 0 insertions, 0 deletions
diff --git a/ftplugin/preseed.vim b/syntax/preseed.vim
index 7b4e1ed..7b4e1ed 100644
--- a/ftplugin/preseed.vim
+++ b/syntax/preseed.vim