Merge 'upstream': various changes 2025-05-10
- fix: rename vim.highlight.on_yank to vim.hl.on_yank - README: mention fd-find in requirements - don't lazy-load neo-tree so netrw hijacking on startup works - Replace vim.opt with vim.o - feat: switch vim-sleuth for guess-indent.nvim - Change to Mason's new address
This commit is contained in:
@@ -42,12 +42,12 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
|
||||
|
||||
-- Highlight when yanking (copying) text
|
||||
-- Try it with `yap` in normal mode
|
||||
-- See `:help vim.highlight.on_yank()`
|
||||
-- See `:help vim.hl.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()
|
||||
vim.hl.on_yank()
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user