Update 2024-12-16 19:13 OpenBSD/amd64-t14
This commit is contained in:
19
.vim/pack/plugins/start/vim-hugo/ftplugin/htmlhugo.vim
Normal file
19
.vim/pack/plugins/start/vim-hugo/ftplugin/htmlhugo.vim
Normal file
@@ -0,0 +1,19 @@
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! ftplugin/html.vim
|
||||
|
||||
setlocal path+=layouts,resources,content,archetypes,static,data,layouts/_default,layouts/partials
|
||||
setlocal suffixesadd=.html
|
||||
|
||||
setlocal commentstring={{/*%s*/}}
|
||||
|
||||
if exists('loaded_matchit')
|
||||
let b:match_words=b:match_words.','
|
||||
\.'\<\%(define\|block\|with\|range\|if\)\>:'
|
||||
\.'\<else\>:'
|
||||
\.'\<end\>,'
|
||||
endif
|
||||
|
||||
let b:undo_ftplugin = 'setlocal com< path<'
|
||||
Reference in New Issue
Block a user