removed highlight on yank feature that does not work for some reason

This commit is contained in:
Ivar Fatland
2024-05-26 16:13:00 +02:00
parent 75bf6f3137
commit 0619918c48
-5
View File
@@ -49,11 +49,6 @@ vim.g.python_indent = { -- Fixes retarded default python indentation.
searchpair_timeout = 300,
}
vim.api.nvim_create_autocmd('TextYankPost', { -- Highlights yanked text.
desc = 'Highlight when yanking text',
group = vim.api.nvim_create_augroup('highlight-yank', {clear = true}),
callback = vim.highlight.on_yank
})
vim.o.exrc = true -- Allows project specific .nvim.lua config files.
vim.cmd [[ autocmd FileType * set formatoptions-=cro ]] -- Disable automatic comment.