дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
Indented .sass files now run some-sass-language-server (MIT, installed through npm from the Tools list): completion for variables and mixins across @use, Go to Declaration, hover with SassDoc comments and syntax diagnostics. vscode-css-language-server does not parse the indented syntax; SCSS, CSS and Less stay on it. The server throws on a null somesass configuration, so the definition passes an empty settings table to keep its defaults. Closes #6339 Co-authored-by: wildcatDownstairs <[email protected]>
17 рядки
541 B
TOML
17 рядки
541 B
TOML
id = "sass"
|
|
name = "Sass"
|
|
extensions = ["sass"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 2, insert-spaces = true }
|
|
ui-mode = "Sass"
|
|
|
|
# vscode-css-language-server has no indented syntax; SCSS, CSS and Less stay on it.
|
|
[[language-servers]]
|
|
name = "some-sass-language-server"
|
|
command = "some-sass-language-server"
|
|
args = ["--stdio"]
|
|
# The server fails to read its settings when `somesass` is null; an empty table keeps its defaults.
|
|
settings = { somesass = {} }
|
|
install-hint = "npm i -g some-sass-language-server"
|