From fb9a7b9206b952270b4c271d492bbeb2604fb743 Mon Sep 17 00:00:00 2001 From: siduck Date: Thu, 14 Jul 2022 17:42:00 +0530 Subject: [PATCH] add nvchad ui plugin --- lua/core/mappings.lua | 2 +- lua/plugins/configs/lspconfig.lua | 2 +- lua/plugins/init.lua | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 8accde7..6650f7e 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -167,7 +167,7 @@ M.lspconfig = { ["ra"] = { function() - require("nvchad.ui.renamer").open() + require("nvchad_ui.renamer").open() end, " lsp rename", }, diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index e548525..81a69de 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -28,7 +28,7 @@ M.on_attach = function(client, bufnr) utils.load_mappings({ lsp_mappings }, { buffer = bufnr }) if client.server_capabilities.signatureHelpProvider then - require("nvchad.ui.signature").setup(client) + require("nvchad_ui.signature").setup(client) end end diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 2270611..194bb5e 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -16,6 +16,8 @@ local plugins = { end, }, + ["Nvchad/ui"] = {}, + ["NvChad/nvterm"] = { module = "nvterm", config = function()