mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
vim-patch:8.2.1874: can't do something just before leaving Insert mode
Problem: Can't do something just before leaving Insert mode. Solution: Add the InsertLeavePre autocommand event. (closes vim/vim#7177)b53e13a91a
N/A patches for version.c: vim-patch:8.1.1877: graduated features scattered Problem: Graduated features scattered. Solution: Put graduated and obsolete features together.ffc0716af8
vim-patch:8.2.1875: warning when building GTK gui Problem: Warning when building GTK gui. Solution: Add missing function parameter.3da855c8e2
vim-patch:8.2.1877: test for function list fails Problem: Test for function list fails. Solution: Move "obsolete" comments one line up.b8f519e538
vim-patch:8.2.1878: GTK: error for redefining function Problem: GTK: error for redefining function. (Tony Mechelynck) Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to global functions.8a99e66b4f
vim-patch:8.2.1881: cannot build with GTK3 Problem: Cannot build with GTK3. Solution: Adjust form functions.692d1a51e7
vim-patch:8.2.1883: compiler warnings when using Python Problem: Compiler warnings when using Python. Solution: Adjust PyCFunction to also have the second argument. Use "int" return type for some functions. Insert "(void *)" to get rid of the remaining warnings.4ce5fe4c87
This commit is contained in:
@@ -7691,6 +7691,10 @@ static bool ins_esc(long *count, int cmdchar, bool nomove)
|
||||
undisplay_dollar();
|
||||
}
|
||||
|
||||
if (cmdchar != 'r' && cmdchar != 'v') {
|
||||
ins_apply_autocmds(EVENT_INSERTLEAVEPRE);
|
||||
}
|
||||
|
||||
// When an autoindent was removed, curswant stays after the
|
||||
// indent
|
||||
if (restart_edit == NUL && (colnr_T)temp == curwin->w_cursor.col) {
|
||||
|
Reference in New Issue
Block a user