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 a321ba986d
This commit is contained in:
siduck 2024-01-06 21:00:58 +05:30
parent c2ec317b1b
commit c80f3f0501
1 changed files with 0 additions and 3 deletions

View File

@ -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