summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-25 20:27:06 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-25 20:27:06 +0200
commitff34bee3a2d22f2ff7abd4519270b5518082c33d (patch)
treeae9b6bd43642d3a22dae4a4f2bf6e75057178af6 /src/ex_cmds.h
parent3c77b6a1ce1d4a06c60bb9fae7eec2775f547d55 (diff)
downloadvim-git-ff34bee3a2d22f2ff7abd4519270b5518082c33d.tar.gz
patch 8.2.3223: Vim: using {} block in autoloade omnifunc failsv8.2.3223
Problem: Vim: using {} block in autoloade omnifunc fails. Solution: Allow using {} block when text is locked. (closes #8631)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index ef3fa669c..8596b24b4 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1853,7 +1853,7 @@ EXCMD(CMD_at, "@", ex_at,
EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK|EX_NONWHITE_OK,
ADDR_LINES),
EXCMD(CMD_block, "{", ex_block, // not found normally
- EX_TRLBAR,
+ EX_TRLBAR|EX_LOCK_OK,
ADDR_NONE),
EXCMD(CMD_endblock, "}", ex_endblock,
EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,