disabled lsp client formatting

This commit is contained in:
Long Nguyen
2025-06-26 15:25:45 -05:00
parent ef195cc6d9
commit d8c81ad509
+3
View File
@@ -33,6 +33,9 @@ vim.api.nvim_create_autocmd("LspAttach", {
return
end
client.server_capabilities.documentFormattingProvider = false
client.server_capabilities.documentRangeFormattingProvider = false
local is_rust_analyzer = client.name == "rust-analyzer"
require("plugins.lsp_keymaps").set_lsp_keymaps(ev.buf, is_rust_analyzer)
end,