diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-06-26 19:54:00 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-06-26 19:54:00 +0300 |
| commit | e3896e07385cbc1327dcd23e1e28ca17f710b709 (patch) | |
| tree | 326a0b88b1d864c991b7e3ab73545e61bca98353 /.config/nvim/lua/autocmds.lua | |
| parent | 1062f6935d84409dc8b2498d4cb38e1e3aee465a (diff) | |
Accidentally placed the nvim files in the wrong place, fixed now
Diffstat (limited to '.config/nvim/lua/autocmds.lua')
| -rw-r--r-- | .config/nvim/lua/autocmds.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/lua/autocmds.lua b/.config/nvim/lua/autocmds.lua new file mode 100644 index 0000000..a9a4d7b --- /dev/null +++ b/.config/nvim/lua/autocmds.lua @@ -0,0 +1,7 @@ +vim.api.nvim_create_autocmd('TextYankPost', { + desc = 'Highlight when yanking (copying) text', + group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }), + callback = function() + vim.highlight.on_yank() + end, +}) |
