Rename nvim config folder (trying kickstart.nvim)
This commit is contained in:
parent
3cc8447717
commit
da2086f561
@ -37,3 +37,11 @@ vim.api.nvim_create_autocmd('BufWritePre', {
|
|||||||
command = 'silent! Neoformat',
|
command = 'silent! Neoformat',
|
||||||
group = vim.api.nvim_create_augroup('Neoformat', {}),
|
group = vim.api.nvim_create_augroup('Neoformat', {}),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
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…
Reference in New Issue
Block a user