feat(sass): switch to @use and setup lsp server

This commit is contained in:
matt1432 2024-10-31 15:35:03 -04:00
parent 1148c8edef
commit ab8626e3b1
25 changed files with 192 additions and 83 deletions
common/home/neovim/langs

View file

@ -28,6 +28,11 @@ in
npm
neovim
;
inherit
(self.packages.${pkgs.system})
some-sass-language-server
;
};
extraLuaConfig =
@ -130,6 +135,19 @@ in
},
});
lsp.somesass_ls.setup({
capabilities = default_capabilities,
});
lsp.somesass_ls.manager.config.settings = {
somesass = {
scss = {
completion = {
suggestFromUseOnly = true,
},
},
},
};
local html_caps = default_capabilities;
html_caps.textDocument.completion.completionItem.snippetSupport = true;