From c80f3f0501800d02b0085ecc1f79bfc64327d01e Mon Sep 17 00:00:00 2001 From: siduck Date: Sat, 6 Jan 2024 21:00:58 +0530 Subject: [PATCH] Avoid disabling lsp formatting capabilities this was used so we could use null-ls as default formatter but as its dead i have replaced it with conform in the example_config. check https://github.com/NvChad/example_config/commit/a321ba986da839dc82eec52d072f1c16737d63b8 --- lua/plugins/configs/lspconfig.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index 18e84ad..f824aa0 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -7,9 +7,6 @@ local utils = require "core.utils" -- export on_attach & capabilities for custom lspconfigs M.on_attach = function(client, bufnr) - client.server_capabilities.documentFormattingProvider = false - client.server_capabilities.documentRangeFormattingProvider = false - utils.load_mappings("lspconfig", { buffer = bufnr }) if client.server_capabilities.signatureHelpProvider then