diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-22 21:29:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-22 21:29:53 +0200 |
commit | c2585490321854ca3df115efcf0b40986901d96c (patch) | |
tree | 94da4422a3872bb6907961eeb75007c32317d901 /src/misc1.c | |
parent | 910c378d9342e0de8c6736c83ebdbbb597267056 (diff) | |
download | vim-git-c2585490321854ca3df115efcf0b40986901d96c.tar.gz |
patch 8.1.2066: no tests for state()v8.1.2066
Problem: No tests for state().
Solution: Add tests. Clean up some feature checks. Make "a" flag work.
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c index 3c0bd4128..4566ca2a9 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -1297,7 +1297,7 @@ f_state(typval_T *argvars, typval_T *rettv) may_add_state_char(&ga, include, 'o'); if (autocmd_busy) may_add_state_char(&ga, include, 'x'); - if (!ctrl_x_mode_none()) + if (ins_compl_active()) may_add_state_char(&ga, include, 'a'); # ifdef FEAT_JOB_CHANNEL |