chore: minor change
This commit is contained in:
parent
5a8ebabd8a
commit
24f2a2bb1e
3 changed files with 12 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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" },
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
return {
|
||||
{
|
||||
"NvChad/nvterm",
|
||||
enabled = false,
|
||||
lazy = true,
|
||||
},
|
||||
{
|
||||
"sindrets/diffview.nvim",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue