diff --git a/lua/chadrc.lua b/lua/chadrc.lua index 1d841e9..82ee2e9 100644 --- a/lua/chadrc.lua +++ b/lua/chadrc.lua @@ -1,16 +1,14 @@ --- This file needs to have same structure as nvconfig.lua +-- This file needs to have same structure as nvconfig.lua -- https://github.com/NvChad/NvChad/blob/v2.5/lua/nvconfig.lua ---@type ChadrcConfig local M = {} M.ui = { - theme = "onedark", - - -- hl_override = { - -- Comment = { italic = true }, - -- ["@comment"] = { italic = true }, - -- }, + theme = "onedark", + term = { + enabled = false, + }, } return M diff --git a/lua/configs/lspconfig.lua b/lua/configs/lspconfig.lua index 63391c1..5944965 100644 --- a/lua/configs/lspconfig.lua +++ b/lua/configs/lspconfig.lua @@ -25,11 +25,10 @@ for _, lsp in ipairs(servers) do } end -local cmp = require "cmp" -local sources = cmp.get_config().sources -for i = #sources, 1, -1 do - if sources[i].name == "luasnip" then - table.remove(sources, i) - end -end -cmp.setup.buffer { sources = sources } +require("cmp").setup { + sources = { + { name = "buffer" }, + { name = "path" }, + { name = "nvim_lsp" }, + }, +} diff --git a/lua/plugins/custom.lua b/lua/plugins/custom.lua index 6e31cb7..925f56c 100644 --- a/lua/plugins/custom.lua +++ b/lua/plugins/custom.lua @@ -1,9 +1,4 @@ return { - { - "NvChad/nvterm", - enabled = false, - lazy = true, - }, { "sindrets/diffview.nvim", },