nvim-lspconfig/lsp/templ.lua

13 lines
256 B
Lua

---@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' },
}