refactor(nvim): use vim.cmd instead of nvim_command

This commit is contained in:
Price Hiller 2022-09-18 16:13:13 -05:00
parent fa54bfe71d
commit 62bac217db

View File

@ -6,7 +6,7 @@ M.setup = function()
-- Get rid of highlight after search
vim.keymap.set("n", "<esc>", function()
vim.api.nvim_command("noh")
vim.cmd.noh()
end, { silent = true, desc = "Remove Highlighted Searches" })
-- Spell Checking