diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
| commit | b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch) | |
| tree | 366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/somesass_ls.lua | |
Nixos
Diffstat (limited to 'nvim/lsp/somesass_ls.lua')
| -rwxr-xr-x | nvim/lsp/somesass_ls.lua | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nvim/lsp/somesass_ls.lua b/nvim/lsp/somesass_ls.lua new file mode 100755 index 0000000..9d2d092 --- /dev/null +++ b/nvim/lsp/somesass_ls.lua @@ -0,0 +1,28 @@ +---@brief +--- +--- 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. +return { + name = 'somesass_ls', + cmd = { 'some-sass-language-server', '--stdio' }, + filetypes = { 'scss', 'sass' }, + root_markers = { '.git', '.package.json' }, + settings = { + somesass = { + suggestAllFromOpenDocument = true, + }, + }, +} |
