Skip to content

Commit c595e5f

Browse files
committed
wip
1 parent 493b8e9 commit c595e5f

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
@@ -179,6 +179,17 @@ in {
179179
eslint = {
180180
enable = true;
181181
filetypes = ["javascript" "javascriptreact" "typescript" "typescriptreact"];
182+
settings.on_attach =
183+
/*
184+
lua
185+
*/
186+
''
187+
function(client, bufnr)
188+
client.server_capabilities.documentFormattingProvider = false
189+
client.server_capabilities.documentRangeFormattingProvider = false
190+
client.server_capabilities.documentOnTypeFormattingProvider = false
191+
end
192+
'';
182193
};
183194
bashls.enable = true;
184195
clangd.enable = true;

0 commit comments

Comments
 (0)