mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 02:45:39 +00:00
vim-patch:9.1.1601: Patch v8.1.0425 was wrong
Problem: Patch v8.1.0425 was wrong Solution: Revert that patch (Hirohito Higashi) This is because the root cause was fixed in 8.1.0786 and a regression occurred elsewhere. related: vim/vim#3455 related: vim/vim#3830 fixes: vim/vim#11558 closes: vim/vim#178996abe5e4904Co-authored-by: Hirohito Higashi <h.east.727@gmail.com> (cherry picked from commit7230296bdb)
This commit is contained in:
committed by
github-actions[bot]
parent
a65c4be2de
commit
53a0d99702
@@ -1728,9 +1728,6 @@ void enter_buffer(buf_T *buf)
|
||||
// mark cursor position as being invalid
|
||||
curwin->w_valid = 0;
|
||||
|
||||
buflist_setfpos(curbuf, curwin, curbuf->b_last_cursor.mark.lnum,
|
||||
curbuf->b_last_cursor.mark.col, true);
|
||||
|
||||
// Make sure the buffer is loaded.
|
||||
if (curbuf->b_ml.ml_mfp == NULL) { // need to load the file
|
||||
// If there is no filetype, allow for detecting one. Esp. useful for
|
||||
|
||||
Reference in New Issue
Block a user