[vim] Fix the hlsearch toggle key binding

This commit is contained in:
Eryn Wells 2023-03-20 08:41:17 -07:00
parent 5ad761678a
commit 6957a192af

View file

@ -18,5 +18,5 @@ map('n', '<C-n>', ':bn<CR>', options)
map('n', '<C-p>', ':bp<CR>', options)
map('n', '<leader><space>', function()
vim.exec [[ setlocal invhlsearch ]]
vim.cmd [[ setlocal invhlsearch ]]
end, options)