From d710f5c58d3b4b010504472d58752d5cef115d99 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 2 Aug 2024 05:52:57 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 46 +++++++++++++++++++++++++++++++++++++++++++ doc/server_configurations.txt | 46 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3-70-g09d2