mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
Merge pull request #201 from XXiaoA/fix199
fix: bug about splitkeep (fix #199)
This commit is contained in:
commit
8b16f89732
1 changed files with 3 additions and 0 deletions
|
@ -230,6 +230,9 @@ M.select = function(opts)
|
|||
if config.highlight_on_jump then
|
||||
util.flash_highlight(bufnr, lnum, config.highlight_on_jump)
|
||||
end
|
||||
if vim.o.splitkeep and vim.o.splitkeep ~= "cursor" then
|
||||
vim.api.nvim_win_set_cursor(winid, { lnum, col })
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Reference in a new issue