diff --git a/dots/.nvim-environments/primary/config/lua/core/mappings.lua b/dots/.nvim-environments/primary/config/lua/core/mappings.lua index ea7b6e06..7458660e 100755 --- a/dots/.nvim-environments/primary/config/lua/core/mappings.lua +++ b/dots/.nvim-environments/primary/config/lua/core/mappings.lua @@ -6,7 +6,7 @@ M.setup = function() -- Get rid of highlight after search vim.keymap.set("n", "", function() - vim.api.nvim_command("noh") + vim.cmd.noh() end, { silent = true, desc = "Remove Highlighted Searches" }) -- Spell Checking