changes from claymore on субота, 7 грудня 2024 22:11:22 +0200
This commit is contained in:
parent
02bb20aba5
commit
b3b2ba3789
|
@ -2,6 +2,12 @@ vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
pattern = { "*.gohtml", "*.go.html" },
|
pattern = { "*.gohtml", "*.go.html" },
|
||||||
callback = function() vim.opt_local.filetype = "gohtmltmpl" end,
|
callback = function() vim.opt_local.filetype = "gohtmltmpl" end,
|
||||||
})
|
})
|
||||||
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
|
pattern = { "*.html" },
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.filetype = "gohtmltmpl"
|
||||||
|
end,
|
||||||
|
})
|
||||||
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
pattern = { "*.gotmpl", "*.go.tmpl" },
|
pattern = { "*.gotmpl", "*.go.tmpl" },
|
||||||
callback = function() vim.opt_local.filetype = "gotexttmpl" end,
|
callback = function() vim.opt_local.filetype = "gotexttmpl" end,
|
||||||
|
|
Loading…
Reference in a new issue