summaryrefslogtreecommitdiff
path: root/dot_config/nvim_new/lsp/templ.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim_new/lsp/templ.lua')
-rw-r--r--dot_config/nvim_new/lsp/templ.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/templ.lua b/dot_config/nvim_new/lsp/templ.lua
new file mode 100644
index 0000000..ea4fdc3
--- /dev/null
+++ b/dot_config/nvim_new/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' },
+}