From e5e600232188ed9fb960f5df6bb06084ae8bf3ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 6 Mar 2024 06:49:11 +0000 Subject: docs: update server_configurations.md skip-checks: true --- doc/server_configurations.md | 60 +++++++++++++++++++++++++++++++++++++++++++ doc/server_configurations.txt | 60 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 015f68d9..2647f3c9 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -231,6 +231,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [solidity](#solidity) - [solidity_ls](#solidity_ls) - [solidity_ls_nomicfoundation](#solidity_ls_nomicfoundation) +- [somesass_ls](#somesass_ls) - [sorbet](#sorbet) - [sourcekit](#sourcekit) - [sourcery](#sourcery) @@ -10237,6 +10238,65 @@ require'lspconfig'.solidity_ls_nomicfoundation.setup{} ``` +## somesass_ls + + +https://github.com/wkillerud/some-sass/tree/main/packages/language-server + +`some-sass-language-server` can be installed via `npm`: + +```sh +npm i -g some-sass-language-server +``` + +The language server provides: + +- Full support for @use and @forward, including aliases, prefixes and hiding. +- Workspace-wide code navigation and refactoring, such as Rename Symbol. +- Rich documentation through SassDoc. +- Language features for %placeholder-selectors, both when using them and writing them. +- Suggestions and hover info for built-in Sass modules, when used with @use. + + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.somesass_ls.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "some-sass-language-server", "--stdio" } + ``` + - `filetypes` : + ```lua + { "scss", "sass" } + ``` + - `name` : + ```lua + "somesass_ls" + ``` + - `root_dir` : + ```lua + root_pattern("package.json", ".git") or bufdir + ``` + - `settings` : + ```lua + { + somesass = { + suggestAllFromOpenDocument = true + } + } + ``` + - `single_file_support` : + ```lua + true + ``` + + ## sorbet https://sorbet.org diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 015f68d9..2647f3c9 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -231,6 +231,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [solidity](#solidity) - [solidity_ls](#solidity_ls) - [solidity_ls_nomicfoundation](#solidity_ls_nomicfoundation) +- [somesass_ls](#somesass_ls) - [sorbet](#sorbet) - [sourcekit](#sourcekit) - [sourcery](#sourcery) @@ -10237,6 +10238,65 @@ require'lspconfig'.solidity_ls_nomicfoundation.setup{} ``` +## somesass_ls + + +https://github.com/wkillerud/some-sass/tree/main/packages/language-server + +`some-sass-language-server` can be installed via `npm`: + +```sh +npm i -g some-sass-language-server +``` + +The language server provides: + +- Full support for @use and @forward, including aliases, prefixes and hiding. +- Workspace-wide code navigation and refactoring, such as Rename Symbol. +- Rich documentation through SassDoc. +- Language features for %placeholder-selectors, both when using them and writing them. +- Suggestions and hover info for built-in Sass modules, when used with @use. + + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.somesass_ls.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "some-sass-language-server", "--stdio" } + ``` + - `filetypes` : + ```lua + { "scss", "sass" } + ``` + - `name` : + ```lua + "somesass_ls" + ``` + - `root_dir` : + ```lua + root_pattern("package.json", ".git") or bufdir + ``` + - `settings` : + ```lua + { + somesass = { + suggestAllFromOpenDocument = true + } + } + ``` + - `single_file_support` : + ```lua + true + ``` + + ## sorbet https://sorbet.org -- cgit v1.2.3-70-g09d2