diff options
Diffstat (limited to 'lua/core/feat.lua')
-rw-r--r-- | lua/core/feat.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/core/feat.lua b/lua/core/feat.lua new file mode 100644 index 0000000..89d75bb --- /dev/null +++ b/lua/core/feat.lua @@ -0,0 +1,6 @@ +vim.api.nvim_create_autocmd('TextYankPost', { + desc = 'Highlight when yanking text', + callback = function() + vim.highlight.on_yank() + end, +}) |