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
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
function DetectGoHtmlTmpl()
|
function DetectGoHtmlTmpl()
|
||||||
if expand('%:e') == "html" && search("{{") != 0
|
if expand('%:e') == "html" && search("{{") != 0
|
||||||
setfiletype gohtmltmpl
|
setfiletype gohtmltmpl
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue