changes from claymore on п'ятниця, 6 грудня 2024 14:59:58 +0200
This commit is contained in:
parent
794deff535
commit
b261fa0e8f
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
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