chore: minor change
This commit is contained in:
parent
5a8ebabd8a
commit
24f2a2bb1e
3 changed files with 12 additions and 20 deletions
|
@ -6,11 +6,9 @@ local M = {}
|
|||
|
||||
M.ui = {
|
||||
theme = "onedark",
|
||||
|
||||
-- hl_override = {
|
||||
-- Comment = { italic = true },
|
||||
-- ["@comment"] = { italic = true },
|
||||
-- },
|
||||
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