feat(vatsal): Create new config vatsal

kickstart folder contains the original init.lua file. Current init.lua
gets it's config from lua.vatsal.plugins which what I created to
modularize the code and enable lazy loading.

Init to lua now loads all the plugins from vatsal.plugins
This commit is contained in:
rajvatsal 2024-01-10 15:20:47 +05:30
parent 7a5a4b0c72
commit 47b7622fe7
27 changed files with 1233 additions and 11 deletions

View file

@ -0,0 +1,10 @@
-- [[ Highlight on yank ]]
-- See `:help vim.highlight.on_yank()`
local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
vim.api.nvim_create_autocmd('TextYankPost', {
callback = function()
vim.highlight.on_yank()
end,
group = highlight_group,
pattern = '*',
})