- added handlebars snippets and support

- removed tailwind ls
This commit is contained in:
2025-01-21 03:39:46 -06:00
parent dad76d5236
commit 5bbb8ff4f5
2 changed files with 13 additions and 2 deletions
+2 -2
View File
@@ -398,7 +398,7 @@ function M.lsp_zero()
"ts_ls",
"svelte",
"angularls",
"tailwindcss",
--"tailwindcss",
"templ",
"gopls",
"htmx",
@@ -416,7 +416,7 @@ function M.lsp_zero()
},
})
local html_filetypes = { "html", "htmldjango", "templ", "glimmer" }
local html_filetypes = { "html", "htmldjango", "templ", "glimmer", "handlebars" }
lsp.configure("html", { filetypes = html_filetypes })
lsp.configure("htmx", { filetypes = html_filetypes })
+11
View File
@@ -0,0 +1,11 @@
snippet inl inline block
{{#*inline "$0"}}
{{/inline}}
snippet ea each block
{{#each $0}}
{{/each}}
snippet pb partial block
{{#>$0}}
{{/$0}}