commit | c2585490321854ca3df115efcf0b40986901d96c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Sep 22 21:29:53 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Sep 22 21:29:53 2019 +0200 |
tree | 94da4422a3872bb6907961eeb75007c32317d901 | |
parent | 910c378d9342e0de8c6736c83ebdbbb597267056 [diff] [blame] |
patch 8.1.2066: no tests for state() Problem: No tests for state(). Solution: Add tests. Clean up some feature checks. Make "a" flag work.
diff --git a/src/misc1.c b/src/misc1.c index 3c0bd41..4566ca2 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -1297,7 +1297,7 @@ 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