diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-10-16 01:06:17 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-10-16 01:06:17 +0000 |
| commit | e49b1e90c1781ce372013de3fa93a91ea29fc34a (patch) | |
| tree | ef3408ef4a1ba75b8f0e6113d52d15c367512165 | |
| parent | feat: add htmx-lsp support (#2863) (diff) | |
| download | nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.tar nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.tar.gz nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.tar.bz2 nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.tar.lz nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.tar.xz nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.tar.zst nvim-lspconfig-e49b1e90c1781ce372013de3fa93a91ea29fc34a.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 39 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 39 |
2 files changed, 78 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 5d65203f..b295750e 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -101,6 +101,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [hls](#hls) - [hoon_ls](#hoon_ls) - [html](#html) +- [htmx](#htmx) - [idris2_lsp](#idris2_lsp) - [intelephense](#intelephense) - [java_language_server](#java_language_server) @@ -4476,6 +4477,44 @@ require'lspconfig'.html.setup{} ``` +## htmx + +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. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.htmx.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "htmx-lsp" } + ``` + - `filetypes` : + ```lua + { "html" } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `single_file_support` : + ```lua + true + ``` + + ## idris2_lsp https://github.com/idris-community/idris2-lsp diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 5d65203f..b295750e 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -101,6 +101,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [hls](#hls) - [hoon_ls](#hoon_ls) - [html](#html) +- [htmx](#htmx) - [idris2_lsp](#idris2_lsp) - [intelephense](#intelephense) - [java_language_server](#java_language_server) @@ -4476,6 +4477,44 @@ require'lspconfig'.html.setup{} ``` +## htmx + +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. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.htmx.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "htmx-lsp" } + ``` + - `filetypes` : + ```lua + { "html" } + ``` + - `root_dir` : + ```lua + see source file + ``` + - `single_file_support` : + ```lua + true + ``` + + ## idris2_lsp https://github.com/idris-community/idris2-lsp |
