commit | 8f76e6b12b958f2779444a92234bbaf3f49eeb99 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Nov 26 16:50:30 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Nov 26 16:50:30 2019 +0100 |
tree | 36c6d1bb7f575255ca0743dccde1523436134a43 | |
parent | 84f903326d44db9b75fc3a39d4866f636f9ad4cd [diff] [blame] |
patch 8.1.2348: :const cannot be followed by "| endif" Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes #5269) Also fix completion after :const.
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 3f73d3d..7a4979e 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim
@@ -184,6 +184,7 @@ endif for cmd in [ \ 'let a = ', + \ 'const a = ', \ 'if', \ 'elseif', \ 'while',