diff options
author | ZyX <kp-pav@yandex.ru> | 2017-07-18 01:21:23 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-07-18 01:21:23 +0300 |
commit | 25c6ac1af63c0d68b7993910e94d3b0f1b8bbfd7 (patch) | |
tree | d6c30cdb1f97cad7a53cde604a94151c5e454f36 | |
parent | 25f669049cced029e1530a74e9490e61432433ac (diff) | |
download | rneovim-25c6ac1af63c0d68b7993910e94d3b0f1b8bbfd7.tar.gz rneovim-25c6ac1af63c0d68b7993910e94d3b0f1b8bbfd7.tar.bz2 rneovim-25c6ac1af63c0d68b7993910e94d3b0f1b8bbfd7.zip |
*: Fix clint errors
-rw-r--r-- | src/nvim/api/private/helpers.c | 2 | ||||
-rw-r--r-- | src/nvim/ex_eval.c | 2 | ||||
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c index b6ecc319c1..cdaceddc11 100644 --- a/src/nvim/api/private/helpers.c +++ b/src/nvim/api/private/helpers.c @@ -110,7 +110,7 @@ bool try_end(Error *err) { // Note: all globals manipulated here should be saved/restored in // try_enter/try_leave. - --trylevel; + trylevel--; // Without this it stops processing all subsequent VimL commands and // generates strange error messages if I e.g. try calling Test() in a diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c index 139305998d..4434dbe1a5 100644 --- a/src/nvim/ex_eval.c +++ b/src/nvim/ex_eval.c @@ -564,7 +564,7 @@ static void discard_exception(except_T *excp, int was_finished) */ void discard_current_exception(void) { - discard_exception(current_exception, FALSE); + discard_exception(current_exception, false); // Note: all globals manipulated here should be saved/restored in // try_enter/try_leave. current_exception = NULL; diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 4be0dd0e0d..6ac0d062ac 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2321,7 +2321,7 @@ enum { MAX_CB_ERRORS = 1 }; /// Color command-line /// -/// Should use built-in command parser or user-specified one. Currently only the +/// Should use built-in command parser or user-specified one. Currently only the /// latter is supported. /// /// Operates on ccline, saving results to ccline_colors. |