summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-26 17:05:00 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-26 17:05:00 +0100
commitcc4423ae13d78367a3d0b5756783523d3b3a1d31 (patch)
tree771301a581eaf21d3dadd8c4d2fb90f7ab540ef4 /src/ex_docmd.c
parent8f76e6b12b958f2779444a92234bbaf3f49eeb99 (diff)
downloadvim-git-cc4423ae13d78367a3d0b5756783523d3b3a1d31.tar.gz
patch 8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"v8.1.2349
Problem: :lockvar and :unlockvar cannot be followed by "| endif". Solution: Check for following commands. (closes #5269)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 576a75674..ed7512f76 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2384,6 +2384,7 @@ do_one_cmd(
case CMD_leftabove:
case CMD_let:
case CMD_lockmarks:
+ case CMD_lockvar:
case CMD_lua:
case CMD_match:
case CMD_mzscheme:
@@ -2408,6 +2409,7 @@ do_one_cmd(
case CMD_tilde:
case CMD_topleft:
case CMD_unlet:
+ case CMD_unlockvar:
case CMD_verbose:
case CMD_vertical:
case CMD_wincmd: