make nvconfig base46.integrations support new integrations only
https://github.com/NvChad/base46/commit/0f933db516d4fd543c8ce4b77ea97ed22ff67217 so now users will just have to add the new integrations name instead of including default ones too
This commit is contained in:
@@ -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
|
||||
|
||||
+2
-22
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user