mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 01:02:09 +00:00
ex_getln: Make get_histtype return HIST_DEFAULT if needed
This commit is contained in:
@@ -27,11 +27,13 @@
|
||||
|
||||
/// Present history tables
|
||||
typedef enum {
|
||||
HIST_CMD, ///< Colon commands.
|
||||
HIST_SEARCH, ///< Search commands.
|
||||
HIST_EXPR, ///< Expressions (e.g. from entering = register).
|
||||
HIST_INPUT, ///< input() lines.
|
||||
HIST_DEBUG, ///< Debug commands.
|
||||
HIST_DEFAULT = -2, ///< Default (current) history.
|
||||
HIST_INVALID = -1, ///< Unknown history.
|
||||
HIST_CMD = 0, ///< Colon commands.
|
||||
HIST_SEARCH, ///< Search commands.
|
||||
HIST_EXPR, ///< Expressions (e.g. from entering = register).
|
||||
HIST_INPUT, ///< input() lines.
|
||||
HIST_DEBUG, ///< Debug commands.
|
||||
} HistoryType;
|
||||
|
||||
/// Number of history tables
|
||||
|
Reference in New Issue
Block a user