make nvconfig base46.integrations support new integrations only

0f933db516 so now users will just have to add the new integrations name instead of including default ones too
This commit is contained in:
siduck 2024-03-24 08:11:01 +05:30
parent 82413d957e
commit 32d8a1fdff
2 changed files with 3 additions and 23 deletions

View File

@ -37,7 +37,7 @@ end
-- disable semanticTokens
M.on_init = function(client, _)
if not conf.semantic_tokens and client.supports_method "textDocument/semanticTokens" then
if client.supports_method "textDocument/semanticTokens" then
client.server_capabilities.semanticTokensProvider = nil
end
end

View File

@ -63,10 +63,7 @@ M.ui = {
cheatsheet = { theme = "grid" }, -- simple/grid
lsp = {
signature = true,
semantic_tokens = false,
},
lsp = { signature = true },
term = {
-- hl = "Normal:term,WinSeparator:WinSeparator",
@ -83,24 +80,7 @@ M.ui = {
}
M.base46 = {
integrations = {
"blankline",
"cmp",
"defaults",
"devicons",
"git",
"lsp",
"mason",
"nvcheatsheet",
"nvdash",
"nvimtree",
"statusline",
"syntax",
"treesitter",
"tbline",
"telescope",
"whichkey",
},
integrations = {},
}
return vim.tbl_deep_extend("force", M, require "chadrc")