changes from claymore on п'ятниця, 6 грудня 2024 15:01:17 +0200

This commit is contained in:
qugalet 2024-12-06 15:01:17 +02:00
parent dae9badaf6
commit 4a28524c5c
2 changed files with 1 additions and 10 deletions

View file

@ -1,10 +1 @@
function DetectGoHtmlTmpl()
if expand('%:e') == "html" && search("{{") != 0
setfiletype gohtmltmpl
endif
endfunction
augroup filetypedetect
" gohtmltmpl
au BufRead,BufNewFile *.html call DetectGoHtmlTmpl()
augroup END

View file

@ -1,6 +1,6 @@
function DetectGoHtmlTmpl()
if expand('%:e') == "html" && search("{{") != 0
setfiletype gohtmltmpl
setfiletype gohtmltmpl
endif
endfunction