There was an error while loading. Please reload this page.
1 parent 493b8e9 commit c595e5fCopy full SHA for c595e5f
1 file changed
modules/default.nix
@@ -179,6 +179,17 @@ in {
179
eslint = {
180
enable = true;
181
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
+ '';
193
};
194
bashls.enable = true;
195
clangd.enable = true;
0 commit comments