summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-04 15:04:10 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-04 15:04:10 +0200
commit25e42231d3ee27feec2568fa4be2aa2bfba82ae5 (patch)
tree8df08d27ff06c8b52054576bc68814d05553697a /src/ex_cmds.h
parent7cc535175a233c6f02cdb5a364b3590560f5bfcb (diff)
downloadvim-git-25e42231d3ee27feec2568fa4be2aa2bfba82ae5.tar.gz
patch 8.1.1807: more functions can be used as a methodv8.1.1807
Problem: More functions can be used as a method. Solution: Add append(), appendbufline(), assert_equal(), etc. Also add the :eval command.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index af8e89b6c..196cdcfef 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -544,6 +544,9 @@ EXCMD(CMD_endwhile, "endwhile", ex_endwhile,
EXCMD(CMD_enew, "enew", ex_edit,
EX_BANG|EX_TRLBAR,
ADDR_NONE),
+EXCMD(CMD_eval, "eval", ex_eval,
+ EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN,
+ ADDR_NONE),
EXCMD(CMD_ex, "ex", ex_edit,
EX_BANG|EX_FILE1|EX_CMDARG|EX_ARGOPT|EX_TRLBAR,
ADDR_NONE),