aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-26 23:12:42 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-26 23:12:42 -0400
commitea483231c57d2acf6f4e17db82d33124526931f9 (patch)
treeb26950291fbe3813b57db732cad9e152f6a6e1bc /src/nvim/ex_getln.h
parente861af85f89e119193a9e219a4cb766757e28e5a (diff)
parent191fb638f415a0a1a05eb83a87d87fc9902d7ffe (diff)
downloadrneovim-ea483231c57d2acf6f4e17db82d33124526931f9.tar.gz
rneovim-ea483231c57d2acf6f4e17db82d33124526931f9.tar.bz2
rneovim-ea483231c57d2acf6f4e17db82d33124526931f9.zip
Merge pull request #4593 from ZyX-I/length-functions
Make some function accept strings with length in place of just strings
Diffstat (limited to 'src/nvim/ex_getln.h')
-rw-r--r--src/nvim/ex_getln.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nvim/ex_getln.h b/src/nvim/ex_getln.h
index 21da8b9d42..24eebdc303 100644
--- a/src/nvim/ex_getln.h
+++ b/src/nvim/ex_getln.h
@@ -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