summaryrefslogtreecommitdiff
path: root/vim/.config/nvim/lsp/superhtml.lua
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-09-03 15:36:32 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-09-03 15:37:10 -0400
commit22b6712c240fea0643cfc01acfce1fda1f125b8a (patch)
treefb8ac2302793c76d3640aab7d3f74f7a57c01933 /vim/.config/nvim/lsp/superhtml.lua
nix init
Diffstat (limited to 'vim/.config/nvim/lsp/superhtml.lua')
-rw-r--r--vim/.config/nvim/lsp/superhtml.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/superhtml.lua b/vim/.config/nvim/lsp/superhtml.lua
new file mode 100644
index 0000000..fcbe24b
--- /dev/null
+++ b/vim/.config/nvim/lsp/superhtml.lua
@@ -0,0 +1,22 @@
+---@brief
+---
+--- https://github.com/kristoff-it/superhtml
+---
+--- HTML Language Server & Templating Language Library
+---
+--- This LSP is designed to tightly adhere to the HTML spec as well as enforcing
+--- some additional rules that ensure HTML clarity.
+---
+--- If you want to disable HTML support for another HTML LSP, add the following
+--- to your configuration:
+---
+--- ```lua
+--- vim.lsp.config('superhtml', {
+--- filetypes = { 'superhtml' }
+--- })
+--- ```
+return {
+ cmd = { 'superhtml', 'lsp' },
+ filetypes = { 'superhtml', 'html', "htmldjango" },
+ root_markers = { '.git', '.jj' },
+}