- added handlebars snippets and support
- removed tailwind ls
This commit is contained in:
@@ -398,7 +398,7 @@ function M.lsp_zero()
|
|||||||
"ts_ls",
|
"ts_ls",
|
||||||
"svelte",
|
"svelte",
|
||||||
"angularls",
|
"angularls",
|
||||||
"tailwindcss",
|
--"tailwindcss",
|
||||||
"templ",
|
"templ",
|
||||||
"gopls",
|
"gopls",
|
||||||
"htmx",
|
"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("html", { filetypes = html_filetypes })
|
||||||
lsp.configure("htmx", { filetypes = html_filetypes })
|
lsp.configure("htmx", { filetypes = html_filetypes })
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
snippet inl inline block
|
||||||
|
{{#*inline "$0"}}
|
||||||
|
{{/inline}}
|
||||||
|
|
||||||
|
snippet ea each block
|
||||||
|
{{#each $0}}
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
snippet pb partial block
|
||||||
|
{{#>$0}}
|
||||||
|
{{/$0}}
|
||||||
Reference in New Issue
Block a user