Add some go stuff.
This commit is contained in:
parent
80f7d79847
commit
c67cb3726c
2 changed files with 19 additions and 1 deletions
18
lua/plugins/templ.lua
Normal file
18
lua/plugins/templ.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
vim.filetype.add({ extension = { templ = "templ" } })
|
||||
return {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
templ = {},
|
||||
htmx = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = { "go", "templ" },
|
||||
},
|
||||
},
|
||||
}
|
|
@ -2,7 +2,7 @@ return {
|
|||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = { "python", "lua", "rust", "perl", "typescript", "javascript" },
|
||||
ensure_installed = { "python", "lua", "rust", "perl", "typescript", "javascript", "go" },
|
||||
auto_install = true,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue