highlight line cursor is on
This commit is contained in:
parent
d8bbd1551a
commit
51896abd6f
1 changed files with 7 additions and 5 deletions
|
|
@ -47,14 +47,16 @@ vim.opt.undofile = true
|
|||
-- [[ highlight on yank ]]
|
||||
local highligh_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
|
||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
group = highligh_group,
|
||||
pattern = '*',
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
group = highligh_group,
|
||||
pattern = '*',
|
||||
})
|
||||
|
||||
|
||||
vim.opt.completeopt = 'menuone,noselect'
|
||||
|
||||
vim.opt.breakindent = true
|
||||
|
||||
vim.opt.cursorline = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue