From 393e49c781899928f25f08801db136b83e894ba4 Mon Sep 17 00:00:00 2001 From: Job79 Date: Fri, 13 Dec 2024 19:33:52 +0100 Subject: [PATCH] chore: update config to lazyvim 14 --- config/nvim/config/keymaps.lua | 1 + config/nvim/plugins/colorscheme.lua | 12 ++---------- config/nvim/plugins/disabled.lua | 10 ---------- 3 files changed, 3 insertions(+), 20 deletions(-) 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, - }, }