changes from claymore on п'ятниця, 6 грудня 2024 16:09:47 +0200
This commit is contained in:
parent
1f5adf497e
commit
641b5b9afc
|
@ -0,0 +1,8 @@
|
||||||
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
|
pattern = { "*.gohtml", "*.go.html" },
|
||||||
|
callback = function() vim.opt_local.filetype = "gohtmltmpl" end,
|
||||||
|
})
|
||||||
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
|
pattern = { "*.gotmpl", "*.go.tmpl" },
|
||||||
|
callback = function() vim.opt_local.filetype = "gotexttmpl" end,
|
||||||
|
})
|
Loading…
Reference in a new issue