diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2025-08-04 07:45:42 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | 23d53b5d7bc2f31eed672c0a8d26dc608fb6d0ba (patch) | |
| tree | 7b23cd20340dd0984bb1a9616744ef81c69d3b4c /dot_config/nvim_new/lsp/htmx.lua | |
| parent | 1227ae992f4494d6a3d82d70d0bb9cb01dd50847 (diff) | |
feat(nvim) slim down new config
Diffstat (limited to 'dot_config/nvim_new/lsp/htmx.lua')
| -rw-r--r-- | dot_config/nvim_new/lsp/htmx.lua | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/htmx.lua b/dot_config/nvim_new/lsp/htmx.lua new file mode 100644 index 0000000..2d20714 --- /dev/null +++ b/dot_config/nvim_new/lsp/htmx.lua @@ -0,0 +1,62 @@ +---@brief +--- +--- https://github.com/ThePrimeagen/htmx-lsp +--- +--- `htmx-lsp` can be installed via `cargo`: +--- ```sh +--- cargo install htmx-lsp +--- ``` +--- +--- Lsp is still very much work in progress and experimental. Use at your own risk. +return { + cmd = { 'htmx-lsp' }, + filetypes = { -- filetypes copied and adjusted from tailwindcss-intellisense + -- html + 'aspnetcorerazor', + 'astro', + 'astro-markdown', + 'blade', + 'clojure', + 'django-html', + 'htmldjango', + 'edge', + 'eelixir', -- vim ft + 'elixir', + 'ejs', + 'erb', + 'eruby', -- vim ft + 'gohtml', + 'gohtmltmpl', + 'haml', + 'handlebars', + 'hbs', + 'html', + 'htmlangular', + 'html-eex', + 'heex', + 'jade', + 'leaf', + 'liquid', + 'markdown', + 'mdx', + 'mustache', + 'njk', + 'nunjucks', + 'php', + 'razor', + 'slim', + 'twig', + -- js + 'javascript', + 'javascriptreact', + 'reason', + 'rescript', + 'typescript', + 'typescriptreact', + -- mixed + 'vue', + 'svelte', + 'templ', + }, + root_markers = { '.git' }, +} |
