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

This commit is contained in:
qugalet 2024-12-06 15:55:51 +02:00
parent 4a28524c5c
commit f759b25fc3

View file

@ -27,3 +27,15 @@ vim.opt.updatetime = 50
-- vim.opt.colorcolumn = "80"
vim.opt.clipboard = "unnamedplus"
function DetectGoHtmlTmpl()
if expand('%:e') == "html" && search("{{") != 0
setfiletype gohtmltmpl
endif
endfunction
augroup filetypedetect
" gohtmltmpl
au BufRead,BufNewFile *.html call DetectGoHtmlTmpl()
augroup END