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
|
-- disable semanticTokens
|
||||||
M.on_init = function(client, _)
|
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
|
client.server_capabilities.semanticTokensProvider = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
+2
-22
@@ -63,10 +63,7 @@ M.ui = {
|
|||||||
|
|
||||||
cheatsheet = { theme = "grid" }, -- simple/grid
|
cheatsheet = { theme = "grid" }, -- simple/grid
|
||||||
|
|
||||||
lsp = {
|
lsp = { signature = true },
|
||||||
signature = true,
|
|
||||||
semantic_tokens = false,
|
|
||||||
},
|
|
||||||
|
|
||||||
term = {
|
term = {
|
||||||
-- hl = "Normal:term,WinSeparator:WinSeparator",
|
-- hl = "Normal:term,WinSeparator:WinSeparator",
|
||||||
@@ -83,24 +80,7 @@ M.ui = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
M.base46 = {
|
M.base46 = {
|
||||||
integrations = {
|
integrations = {},
|
||||||
"blankline",
|
|
||||||
"cmp",
|
|
||||||
"defaults",
|
|
||||||
"devicons",
|
|
||||||
"git",
|
|
||||||
"lsp",
|
|
||||||
"mason",
|
|
||||||
"nvcheatsheet",
|
|
||||||
"nvdash",
|
|
||||||
"nvimtree",
|
|
||||||
"statusline",
|
|
||||||
"syntax",
|
|
||||||
"treesitter",
|
|
||||||
"tbline",
|
|
||||||
"telescope",
|
|
||||||
"whichkey",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return vim.tbl_deep_extend("force", M, require "chadrc")
|
return vim.tbl_deep_extend("force", M, require "chadrc")
|
||||||
|
|||||||
Reference in New Issue
Block a user