summaryrefslogtreecommitdiff
path: root/nvim/lsp/templ.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lsp/templ.lua')
-rwxr-xr-xnvim/lsp/templ.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/lsp/templ.lua b/nvim/lsp/templ.lua
new file mode 100755
index 0000000..ea4fdc3
--- /dev/null
+++ b/nvim/lsp/templ.lua
@@ -0,0 +1,10 @@
+---@brief
+---
+--- https://templ.guide
+---
+--- The official language server for the templ HTML templating language.
+return {
+ cmd = { 'templ', 'lsp' },
+ filetypes = { 'templ' },
+ root_markers = { 'go.work', 'go.mod', '.git' },
+}