commit | 6013d0045dec7ca7c0068fbe186c42d754a7368b | [log] [tgz] |
---|---|---|
author | LemonBoy <thatlemon@gmail.com> | Sat Apr 09 21:42:10 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 09 21:42:10 2022 +0100 |
tree | 739c5e84ced49602b15e033e3af9c909f9cc3e50 | |
parent | 2ce97ae6aaec7007cca16a446d73161b82f2ba69 [diff] [blame] |
patch 8.2.4726: cannot use expand() to get the script name Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
diff --git a/src/vim.h b/src/vim.h index f9ec6e5..0dcadd1 100644 --- a/src/vim.h +++ b/src/vim.h
@@ -2220,7 +2220,8 @@ typedef enum { ESTACK_NONE, ESTACK_SFILE, - ESTACK_STACK + ESTACK_STACK, + ESTACK_SCRIPT, } estack_arg_T; // Flags for assignment functions.