diff options
author | Famiu Haque <famiuhaque@protonmail.com> | 2022-04-18 09:02:32 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-04-20 00:10:02 +0600 |
commit | 1e3d9c7dbc3ea186227ae27a93e683f750a32ce1 (patch) | |
tree | 90f69449f47ae0a3078dcb0c8742879793005a8c /src/nvim/globals.h | |
parent | 0124a7bfa9e27796e561cb0b3a045b9327bf7077 (diff) | |
download | rneovim-1e3d9c7dbc3ea186227ae27a93e683f750a32ce1.tar.gz rneovim-1e3d9c7dbc3ea186227ae27a93e683f750a32ce1.tar.bz2 rneovim-1e3d9c7dbc3ea186227ae27a93e683f750a32ce1.zip |
feat: add `undo!`
Allows using `undo!` to undo changes and remove them from the undo-tree. Can only be used for moving backwards in the same undo branch.
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 2b85b6a208..e07a0e22ca 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -1013,6 +1013,9 @@ EXTERN char e_line_number_out_of_range[] INIT(= N_("E1247: Line number out of ra EXTERN char e_highlight_group_name_too_long[] INIT(= N_("E1249: Highlight group name too long")); +EXTERN char e_undobang_cannot_redo_or_move_branch[] +INIT(= N_("E5767: Cannot use :undo! to redo or move to a different undo branch")); + EXTERN char top_bot_msg[] INIT(= N_("search hit TOP, continuing at BOTTOM")); EXTERN char bot_top_msg[] INIT(= N_("search hit BOTTOM, continuing at TOP")); |