Replies: 2 comments 2 replies
-
You can achieve that by some auto commands, I used to use those. {
event = { 'WinEnter', 'BufWinEnter' },
pattern = 'NvimTree*',
callback = function()
local def = vim.api.nvim_get_hl_by_name('Cursor', true)
vim.api.nvim_set_hl(0, 'Cursor', vim.tbl_extend('force', def, { blend = 100 }))
vim.opt.guicursor:append 'a:Cursor/lCursor'
end,
},
{
event = { 'BufLeave', 'WinClosed' },
pattern = 'NvimTree*',
callback = function()
local def = vim.api.nvim_get_hl_by_name('Cursor', true)
vim.api.nvim_set_hl(0, 'Cursor', vim.tbl_extend('force', def, { blend = 0 }))
vim.opt.guicursor = 'some (most likely default)settings'
end,
} |
Beta Was this translation helpful? Give feedback.
2 replies
-
FYI a new configuration option has just been added: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions