From 21a3d1a5118111218a17157bd0f88ad621b44cce Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Mon, 5 Apr 2021 13:41:39 +0900 Subject: [PATCH] Fix the comments --- src/nvim/edit.c | 2 +- src/nvim/edit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvim/edit.c b/src/nvim/edit.c index b639da8fb5..ea13052f25 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3978,7 +3978,7 @@ static void ins_compl_add_dict(dict_T *dict) /// /// @param[in] tv Object to get matches from. /// @param[in] dir Completion direction. -/// @param[in] fast use fast_breakcheck() instead of ui_breakcheck(). +/// @param[in] fast use fast_breakcheck() instead of os_breakcheck(). /// /// @return NOTDONE if the given string is already in the list of completions, /// otherwise it is added to the list and OK is returned. FAIL will be diff --git a/src/nvim/edit.h b/src/nvim/edit.h index 856e71c104..ef5dce738a 100644 --- a/src/nvim/edit.h +++ b/src/nvim/edit.h @@ -19,7 +19,7 @@ typedef enum { CP_CONT_S_IPOS = 4, // use CONT_S_IPOS for compl_cont_status CP_EQUAL = 8, // ins_compl_equal() always returns true CP_ICASE = 16, // ins_compl_equal ignores case - CP_FAST = 32, // use fast_breakcheck instead of ui_breakcheck + CP_FAST = 32, // use fast_breakcheck instead of os_breakcheck } cp_flags_T; typedef int (*IndentGetter)(void);