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