Skip to content

Commit 3a3c8ae

Browse files
committed
chore(cssls): Disable format for css
1 parent c204c72 commit 3a3c8ae

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

modules/default.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,17 @@ in {
202202
cssls = {
203203
enable = true;
204204
filetypes = ["css" "scss"];
205+
onAttach.function =
206+
/*
207+
lua
208+
*/
209+
''
210+
function(client, bufnr)
211+
client.server_capabilities.documentFormattingProvider = false
212+
client.server_capabilities.documentRangeFormattingProvider = false
213+
client.server_capabilities.documentOnTypeFormattingProvider = false
214+
end
215+
'';
205216
};
206217
julials = {
207218
enable = true;

0 commit comments

Comments
 (0)