Bug Fixes (#382)
* fix: error messages and run all tests (#381) * feat: Automatically open fold under cursor (#380) * fix: discussion ID is not required (#383) This is a #PATCH release. --------- Co-authored-by: George Kontridze <george.kontridze@gmail.com> Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me>
This commit is contained in:
committed by
GitHub
parent
5c9b88db4f
commit
38bde8a0e4
@@ -145,6 +145,8 @@ M.jump = function(file_name, line_number, new_buffer)
|
||||
line_number = number_of_lines
|
||||
end
|
||||
vim.api.nvim_win_set_cursor(0, { line_number, 0 })
|
||||
u.open_fold_under_cursor()
|
||||
vim.cmd("normal! zz")
|
||||
end
|
||||
|
||||
---Get the data from diffview, such as line information and file name. May be used by
|
||||
|
||||
Reference in New Issue
Block a user