comparison src/ex_docmd.c @ 19575:3c0de44077cd v8.2.0344

patch 8.2.0344: ":def" not skipped properly Commit: https://github.com/vim/vim/commit/ab55c6826f9080477fea6d5593f0b77931acfc1d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 1 19:41:43 2020 +0100 patch 8.2.0344: ":def" not skipped properly Problem: ":def" not skipped properly. Solution: Add CMD_def to list of commands the require evaluation even when not being executed.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Mar 2020 19:45:03 +0100
parents 639b1d672757
children 0d677257e35d
comparison
equal deleted inserted replaced
19574:d4deb2e50667 19575:3c0de44077cd
2355 case CMD_try: 2355 case CMD_try:
2356 case CMD_catch: 2356 case CMD_catch:
2357 case CMD_finally: 2357 case CMD_finally:
2358 case CMD_endtry: 2358 case CMD_endtry:
2359 case CMD_function: 2359 case CMD_function:
2360 case CMD_def:
2360 break; 2361 break;
2361 2362
2362 // Commands that handle '|' themselves. Check: A command should 2363 // Commands that handle '|' themselves. Check: A command should
2363 // either have the EX_TRLBAR flag, appear in this list or appear in 2364 // either have the EX_TRLBAR flag, appear in this list or appear in
2364 // the list at ":help :bar". 2365 // the list at ":help :bar".