chore: update config to lazyvim 14

This commit is contained in:
Job 2024-12-13 19:33:52 +01:00
parent 9bed5b823f
commit 393e49c781
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U
3 changed files with 3 additions and 20 deletions

View File

@ -1,3 +1,4 @@
-- Configure custom keymaps.
local keymap = vim.keymap.set local keymap = vim.keymap.set
local delkeymap = vim.keymap.del local delkeymap = vim.keymap.del
local opts = { noremap = true, silent = true } local opts = { noremap = true, silent = true }

View File

@ -1,17 +1,9 @@
-- Configure rose-pine and gruvbox-material colorschemes. -- Configure rose-pine and gruvbox-material colorschemes.
return { return {
{ "rose-pine/neovim" }, { "rose-pine/neovim" },
{ "sainnhe/gruvbox-material" },
{ {
"sainnhe/gruvbox-material",
opts = function()
vim.g.gruvbox_material_foreground = "original"
end,
},
{
-- Set default colorscheme.
"LazyVim/LazyVim", "LazyVim/LazyVim",
opts = { opts = { colorscheme = "gruvbox-material" },
colorscheme = "gruvbox-material",
},
}, },
} }

View File

@ -19,14 +19,4 @@ return {
inlay_hints = { enabled = false }, inlay_hints = { enabled = false },
}, },
}, },
{
"hrsh7th/nvim-cmp",
opts = function(_, opts)
-- Disable autocomplete on enter.
local cmp = require("cmp")
opts.mapping = vim.tbl_deep_extend("force", opts.mapping, {
["<CR>"] = cmp.config.disable,
})
end,
},
} }