From 32d8a1fdffdc8faf17f8ac8091d44764d61277a3 Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 24 Mar 2024 08:11:01 +0530 Subject: [PATCH] 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 --- lua/nvchad/configs/lspconfig.lua | 2 +- lua/nvconfig.lua | 24 ++---------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/lua/nvchad/configs/lspconfig.lua b/lua/nvchad/configs/lspconfig.lua index e80b190..bb01c47 100644 --- a/lua/nvchad/configs/lspconfig.lua +++ b/lua/nvchad/configs/lspconfig.lua @@ -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 diff --git a/lua/nvconfig.lua b/lua/nvconfig.lua index cfa8d56..0057522 100644 --- a/lua/nvconfig.lua +++ b/lua/nvconfig.lua @@ -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")