fix editorConfig indent opts not applying on certain fts #2633
This commit is contained in:
parent
0333185bfc
commit
b2e2b15b45
4 changed files with 31 additions and 67 deletions
|
|
@ -4,7 +4,7 @@ local M = {}
|
|||
M.on_attach = function(client, bufnr)
|
||||
local utils = require "core.utils"
|
||||
local conf = require("nvconfig").ui.lsp
|
||||
|
||||
|
||||
-- semanticTokens
|
||||
if not conf.semantic_tokens and client.supports_method "textDocument/semanticTokens" then
|
||||
client.server_capabilities.semanticTokensProvider = nil
|
||||
|
|
@ -14,9 +14,6 @@ M.on_attach = function(client, bufnr)
|
|||
require("nvchad.signature").setup(client, bufnr)
|
||||
end
|
||||
|
||||
client.server_capabilities.documentFormattingProvider = false
|
||||
client.server_capabilities.documentRangeFormattingProvider = false
|
||||
|
||||
utils.load_mappings("lspconfig", { buffer = bufnr })
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue