chore: minor change

This commit is contained in:
Adrien Waksberg 2024-04-17 15:37:16 +02:00
parent 5a8ebabd8a
commit 24f2a2bb1e
3 changed files with 12 additions and 20 deletions

View file

@ -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

View file

@ -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" },
},
}

View file

@ -1,9 +1,4 @@
return {
{
"NvChad/nvterm",
enabled = false,
lazy = true,
},
{
"sindrets/diffview.nvim",
},