changes from claymore on п'ятниця, 6 грудня 2024 15:56:18 +0200
This commit is contained in:
parent
f759b25fc3
commit
f357d59323
|
@ -1 +1,10 @@
|
|||
function DetectGoHtmlTmpl()
|
||||
if expand('%:e') == "html" && search("{{") != 0
|
||||
setfiletype gohtmltmpl
|
||||
endif
|
||||
endfunction
|
||||
|
||||
augroup filetypedetect
|
||||
" gohtmltmpl
|
||||
au BufRead,BufNewFile *.html call DetectGoHtmlTmpl()
|
||||
augroup END
|
||||
|
|
Loading…
Reference in a new issue