aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2021-04-05 13:41:39 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2021-04-05 13:41:39 +0900
commit21a3d1a5118111218a17157bd0f88ad621b44cce (patch)
treec19f4e83a51818414a3bb3c51a8d583f041d94ff
parent1996028c5ce442194b94d8b263a206bae3453ead (diff)
downloadrneovim-21a3d1a5118111218a17157bd0f88ad621b44cce.tar.gz
rneovim-21a3d1a5118111218a17157bd0f88ad621b44cce.tar.bz2
rneovim-21a3d1a5118111218a17157bd0f88ad621b44cce.zip
Fix the comments
-rw-r--r--src/nvim/edit.c2
-rw-r--r--src/nvim/edit.h2
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);