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:
parent
7a5a4b0c72
commit
47b7622fe7
27 changed files with 1233 additions and 11 deletions
10
lua/vatsal/options/yank-highlight.lua
Normal file
10
lua/vatsal/options/yank-highlight.lua
Normal 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 = '*',
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue