chore: update config to lazyvim 14
This commit is contained in:
parent
9bed5b823f
commit
393e49c781
@ -1,3 +1,4 @@
|
||||
-- Configure custom keymaps.
|
||||
local keymap = vim.keymap.set
|
||||
local delkeymap = vim.keymap.del
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
@ -1,17 +1,9 @@
|
||||
-- Configure rose-pine and gruvbox-material colorschemes.
|
||||
return {
|
||||
{ "rose-pine/neovim" },
|
||||
{ "sainnhe/gruvbox-material" },
|
||||
{
|
||||
"sainnhe/gruvbox-material",
|
||||
opts = function()
|
||||
vim.g.gruvbox_material_foreground = "original"
|
||||
end,
|
||||
},
|
||||
{
|
||||
-- Set default colorscheme.
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "gruvbox-material",
|
||||
},
|
||||
opts = { colorscheme = "gruvbox-material" },
|
||||
},
|
||||
}
|
||||
|
@ -19,14 +19,4 @@ return {
|
||||
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,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user