nvim.d/nvim/lua/ftdetect/gotmpl.lua
Dan Anglin 746f07efdb
feat: add treesitter highlighting for gotmpl
Add detection, treesitter highlighting, and tab spacing settings for
gotmpl files.
2024-08-21 18:39:42 +01:00

4 lines
117 B
Lua

vim.api.nvim_create_autocmd(
{ "BufNewFile", "BufRead"},
{ pattern = {"*.gotmpl"}, command = "set ft=gotmpl" }
)