From 0619918c48c692cf2dd24d66b442288eda5aa882 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Sun, 26 May 2024 16:13:00 +0200 Subject: [PATCH] removed highlight on yank feature that does not work for some reason --- init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/init.lua b/init.lua index 94a663f..6f6e6af 100644 --- a/init.lua +++ b/init.lua @@ -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.