diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-08-02 05:52:57 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-08-02 05:52:57 +0000 |
| commit | d710f5c58d3b4b010504472d58752d5cef115d99 (patch) | |
| tree | 0aeeb87d1c553be10781d3c443b19c7d78b42c0d /doc | |
| parent | feat: add superhtml support (#3245) (diff) | |
| download | nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.tar nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.tar.gz nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.tar.bz2 nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.tar.lz nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.tar.xz nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.tar.zst nvim-lspconfig-d710f5c58d3b4b010504472d58752d5cef115d99.zip | |
docs: update server_configurations.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/server_configurations.md | 46 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 46 |
2 files changed, 92 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 6c1a414c..476d85fa 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -275,6 +275,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [steep](#steep) - [stimulus_ls](#stimulus_ls) - [stylelint_lsp](#stylelint_lsp) +- [superhtml](#superhtml) - [svelte](#svelte) - [svlangserver](#svlangserver) - [svls](#svls) @@ -11558,6 +11559,51 @@ require'lspconfig'.stylelint_lsp.setup{} ``` +## superhtml + +https://github.com/kristoff-it/superhtml + +HTML Language Server & Templating Language Library + +This LSP is designed to tightly adhere to the HTML spec as well as enforcing +some additional rules that ensure HTML clarity. + +If you want to disable HTML support for another HTML LSP, add the following +to your configuration: + +```lua +require'lspconfig'.superhtml.setup { + filetypes = { 'superhtml' } +} +``` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.superhtml.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "superhtml", "lsp" } + ``` + - `filetypes` : + ```lua + { "superhtml", "html" } + ``` + - `root_dir` : + ```lua + util.find_git_ancestor + ``` + - `single_file_support` : + ```lua + true + ``` + + ## svelte https://github.com/sveltejs/language-tools/tree/master/packages/language-server diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 6c1a414c..476d85fa 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -275,6 +275,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [steep](#steep) - [stimulus_ls](#stimulus_ls) - [stylelint_lsp](#stylelint_lsp) +- [superhtml](#superhtml) - [svelte](#svelte) - [svlangserver](#svlangserver) - [svls](#svls) @@ -11558,6 +11559,51 @@ require'lspconfig'.stylelint_lsp.setup{} ``` +## superhtml + +https://github.com/kristoff-it/superhtml + +HTML Language Server & Templating Language Library + +This LSP is designed to tightly adhere to the HTML spec as well as enforcing +some additional rules that ensure HTML clarity. + +If you want to disable HTML support for another HTML LSP, add the following +to your configuration: + +```lua +require'lspconfig'.superhtml.setup { + filetypes = { 'superhtml' } +} +``` + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.superhtml.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "superhtml", "lsp" } + ``` + - `filetypes` : + ```lua + { "superhtml", "html" } + ``` + - `root_dir` : + ```lua + util.find_git_ancestor + ``` + - `single_file_support` : + ```lua + true + ``` + + ## svelte https://github.com/sveltejs/language-tools/tree/master/packages/language-server |
