diff --git a/config/nvim/config/keymaps.lua b/config/nvim/config/keymaps.lua index cc3581d..52acde9 100644 --- a/config/nvim/config/keymaps.lua +++ b/config/nvim/config/keymaps.lua @@ -1,3 +1,4 @@ +-- Configure custom keymaps. local keymap = vim.keymap.set local delkeymap = vim.keymap.del local opts = { noremap = true, silent = true } diff --git a/config/nvim/plugins/colorscheme.lua b/config/nvim/plugins/colorscheme.lua index 958de19..521c32e 100644 --- a/config/nvim/plugins/colorscheme.lua +++ b/config/nvim/plugins/colorscheme.lua @@ -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" }, }, } diff --git a/config/nvim/plugins/disabled.lua b/config/nvim/plugins/disabled.lua index be7c8de..10155e0 100644 --- a/config/nvim/plugins/disabled.lua +++ b/config/nvim/plugins/disabled.lua @@ -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, { - [""] = cmp.config.disable, - }) - end, - }, }