diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-26 16:50:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-26 16:50:30 +0100 |
commit | 8f76e6b12b958f2779444a92234bbaf3f49eeb99 (patch) | |
tree | 36c6d1bb7f575255ca0743dccde1523436134a43 /src/cmdexpand.c | |
parent | 84f903326d44db9b75fc3a39d4866f636f9ad4cd (diff) |
patch 8.1.2348: :const cannot be followed by "| endif"v8.1.2348
Problem: :const cannot be followed by "| endif".
Solution: Check following command for :const. (closes #5269)
Also fix completion after :const.
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r-- | src/cmdexpand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index 7381b0e9b7..1a7f9f2ecd 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -1508,6 +1508,7 @@ set_one_cmd_context( break; #endif #ifdef FEAT_EVAL + case CMD_const: case CMD_let: case CMD_if: case CMD_elseif: |