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

@ -5,12 +5,10 @@
local M = {} local M = {}
M.ui = { M.ui = {
theme = "onedark", theme = "onedark",
term = {
-- hl_override = { enabled = false,
-- Comment = { italic = true }, },
-- ["@comment"] = { italic = true },
-- },
} }
return M return M

View file

@ -25,11 +25,10 @@ for _, lsp in ipairs(servers) do
} }
end end
local cmp = require "cmp" require("cmp").setup {
local sources = cmp.get_config().sources sources = {
for i = #sources, 1, -1 do { name = "buffer" },
if sources[i].name == "luasnip" then { name = "path" },
table.remove(sources, i) { name = "nvim_lsp" },
end },
end }
cmp.setup.buffer { sources = sources }

View file

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