disabled lsp client formatting
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user