add(nvim): templ

This commit is contained in:
Evan Reichard 2024-10-04 19:41:53 -04:00
parent 36ca5d8d34
commit f9d0194783

View File

@ -8,6 +8,12 @@ vim.api.nvim_create_autocmd("FileType", {
end,
})
vim.filetype.add({
extension = {
templ = "templ",
},
})
------------------------------------------------------
-------------------- Built-in LSP --------------------
------------------------------------------------------
@ -124,6 +130,13 @@ nvim_lsp.lua_ls.setup({
cmd = { nix_vars.luals },
})
-- Templ LSP Configuration
nvim_lsp.templ.setup({
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
})
-- Go LSP Configuration
nvim_lsp.gopls.setup({
on_attach = function(client, bufnr)