diff options
author | Aleksey Kuznetsov | 2022-12-03 14:24:43 +0000 |
---|---|---|
committer | GitHub | 2022-12-03 14:24:43 +0000 |
commit | 2123e91e56caccf60b9285f30bc2f2f12952520a (patch) | |
tree | e4d29fdd1bafedd41cbc93ddd1d0dbc46db5c8e2 /languages.toml | |
parent | bcdb475b71b0fbabce57344ac8d2575c23b1bbe0 (diff) |
Enable auto format for css and scss files (#4987)
provideFormatter enables capability in LS and
auto-format performs format on save
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 9664d93a..d214a082 100644 --- a/languages.toml +++ b/languages.toml @@ -422,6 +422,8 @@ injection-regex = "css" file-types = ["css", "scss"] roots = [] language-server = { command = "vscode-css-language-server", args = ["--stdio"] } +auto-format = true +config = { "provideFormatter" = true } indent = { tab-width = 2, unit = " " } [[grammar]] @@ -435,6 +437,8 @@ injection-regex = "scss" file-types = ["scss"] roots = [] language-server = { command = "vscode-css-language-server", args = ["--stdio"] } +auto-format = true +config = { "provideFormatter" = true } indent = { tab-width = 2, unit = " " } [[grammar]] |