summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2022-04-09 21:42:10 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-09 21:42:10 +0100
commit6013d0045dec7ca7c0068fbe186c42d754a7368b (patch)
tree739c5e84ced49602b15e033e3af9c909f9cc3e50 /src/vim.h
parent2ce97ae6aaec7007cca16a446d73161b82f2ba69 (diff)
patch 8.2.4726: cannot use expand() to get the script namev8.2.4726
Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index f9ec6e54a7..0dcadd1b4e 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2220,7 +2220,8 @@ typedef enum {
typedef enum {
ESTACK_NONE,
ESTACK_SFILE,
- ESTACK_STACK
+ ESTACK_STACK,
+ ESTACK_SCRIPT,
} estack_arg_T;
// Flags for assignment functions.