Fixing minor error in Nvim config

This commit is contained in:
Derek Taylor
2022-10-17 15:17:55 -05:00
parent 0517251ba5
commit 5ca6ac2147
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ local ok, _ = pcall(vim.cmd, "colorscheme base16-onedark")
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-tomorrow-night')
-- Highlight the region on yank
A.nvim_create_autocmd("TextYankPost", {
vim.api.nvim_create_autocmd("TextYankPost", {
group = num_au,
callback = function()
vim.highlight.on_yank({ higroup = "Visual", timeout = 120 })