0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.2.3223: Vim: using {} block in autoloade omnifunc fails

Problem:    Vim: using {} block in autoloade omnifunc fails.
Solution:   Allow using {} block when text is locked. (closes #8631)
This commit is contained in:
Bram Moolenaar
2021-07-25 20:27:06 +02:00
parent 3c77b6a1ce
commit ff34bee3a2
3 changed files with 34 additions and 1 deletions

View File

@@ -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,