diff options
Diffstat (limited to '.config/nvim/lsp/templ.lua')
| -rw-r--r-- | .config/nvim/lsp/templ.lua | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lsp/templ.lua b/.config/nvim/lsp/templ.lua new file mode 100644 index 0000000..f5333cd --- /dev/null +++ b/.config/nvim/lsp/templ.lua @@ -0,0 +1,12 @@ +---@brief +--- +--- https://templ.guide +--- +--- The official language server for the templ HTML templating language. + +---@type vim.lsp.Config +return { +  cmd = { 'templ', 'lsp' }, +  filetypes = { 'templ' }, +  root_markers = { 'go.work', 'go.mod', '.git' }, +}  |