diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-15 17:06:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-15 17:06:47 +0200 |
commit | 472e85970ee3a80abd824bef510df12e9cfe9e96 (patch) | |
tree | 27fae571dfc2e3bf1c7a6b4dfbc59bc5b13356b8 /src/proto | |
parent | 9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8 (diff) |
patch 8.0.0035v8.0.0035
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
Solution: Do not set compl_curr_match when called from complete_check().
(closes #1168)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/edit.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/edit.pro b/src/proto/edit.pro index e32b5ba25a..7a399c0e6e 100644 --- a/src/proto/edit.pro +++ b/src/proto/edit.pro @@ -15,7 +15,7 @@ char_u *find_word_start(char_u *ptr); char_u *find_word_end(char_u *ptr); int ins_compl_active(void); int ins_compl_add_tv(typval_T *tv, int dir); -void ins_compl_check_keys(int frequency); +void ins_compl_check_keys(int frequency, int in_compl_func); int get_literal(void); void insertchar(int c, int flags, int second_indent); void auto_format(int trailblank, int prev_line); |