From 8f76e6b12b958f2779444a92234bbaf3f49eeb99 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 26 Nov 2019 16:50:30 +0100 Subject: 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. --- src/testdir/test_cmdline.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testdir/test_cmdline.vim') diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 3f73d3da3..7a4979e01 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -184,6 +184,7 @@ func Test_expr_completion() endif for cmd in [ \ 'let a = ', + \ 'const a = ', \ 'if', \ 'elseif', \ 'while', -- cgit v1.2.1