diff --git a/lua/plugins/config.lua b/lua/plugins/config.lua index 21e394d..05e4854 100644 --- a/lua/plugins/config.lua +++ b/lua/plugins/config.lua @@ -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 }) diff --git a/snippets/handlebars.snippets b/snippets/handlebars.snippets new file mode 100644 index 0000000..6aa049e --- /dev/null +++ b/snippets/handlebars.snippets @@ -0,0 +1,11 @@ +snippet inl inline block + {{#*inline "$0"}} + {{/inline}} + +snippet ea each block + {{#each $0}} + {{/each}} + +snippet pb partial block + {{#>$0}} + {{/$0}}