Compare commits
2 commits
f455166cd5
...
797b8856f6
| Author | SHA1 | Date | |
|---|---|---|---|
| 797b8856f6 | |||
| 02f089e0a7 |
1 changed files with 25 additions and 0 deletions
25
nvim/lua/plugins/templ.lua
Normal file
25
nvim/lua/plugins/templ.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
-- 1. Vim syntax plugin for Templ files
|
||||
{
|
||||
"joerdav/templ.vim",
|
||||
ft = "templ",
|
||||
},
|
||||
|
||||
-- 2. Tree-sitter support
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
vim.list_extend(opts.ensure_installed, { "templ" })
|
||||
end,
|
||||
},
|
||||
|
||||
-- 3. LSP configuration
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
templ = {}, -- templ LSP config with default options
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Reference in a new issue