splitting up config, styling with gruvbox
This commit is contained in:
parent
188bb5a3de
commit
4d8445450e
11 changed files with 999 additions and 1022 deletions
14
lua/sld/autocmd.lua
Normal file
14
lua/sld/autocmd.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
-- [[ Basic Autocommands ]]
|
||||
-- See `:help lua-guide-autocommands`
|
||||
|
||||
-- Highlight when yanking (copying) text
|
||||
-- Try it with `yap` in normal mode
|
||||
-- See `:help vim.highlight.on_yank()`
|
||||
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,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue