Mercurial > vim
comparison src/vim.h @ 28403:2655935b5ccc v8.2.4726
patch 8.2.4726: cannot use expand() to get the script name
Commit: https://github.com/vim/vim/commit/6013d0045dec7ca7c0068fbe186c42d754a7368b
Author: LemonBoy <thatlemon@gmail.com>
Date: Sat Apr 9 21:42:10 2022 +0100
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 https://github.com/vim/vim/issues/10121)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Apr 2022 22:45:03 +0200 |
parents | d395fadbaf67 |
children | d770568e6c98 |
comparison
equal
deleted
inserted
replaced
28402:401c4206d38c | 28403:2655935b5ccc |
---|---|
2218 | 2218 |
2219 // Argument for estack_sfile(). | 2219 // Argument for estack_sfile(). |
2220 typedef enum { | 2220 typedef enum { |
2221 ESTACK_NONE, | 2221 ESTACK_NONE, |
2222 ESTACK_SFILE, | 2222 ESTACK_SFILE, |
2223 ESTACK_STACK | 2223 ESTACK_STACK, |
2224 ESTACK_SCRIPT, | |
2224 } estack_arg_T; | 2225 } estack_arg_T; |
2225 | 2226 |
2226 // Flags for assignment functions. | 2227 // Flags for assignment functions. |
2227 #define ASSIGN_FINAL 0x01 // ":final" | 2228 #define ASSIGN_FINAL 0x01 // ":final" |
2228 #define ASSIGN_CONST 0x02 // ":const" | 2229 #define ASSIGN_CONST 0x02 // ":const" |