changes from claymore on п'ятниця, 6 грудня 2024 15:01:17 +0200
This commit is contained in:
parent
dae9badaf6
commit
4a28524c5c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue