mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
vim-patch:8.2.1653: expand('<stack>') does not include the final line number
Problem: Expand('<stack>') does not include the final line number.
Solution: Add the line nuber. (closes vim/vim#6927)
4f25b1aba0
This commit is contained in:
@@ -42,6 +42,13 @@ extern garray_T exestack;
|
||||
/// line number in the message source or zero
|
||||
#define SOURCING_LNUM (((estack_T *)exestack.ga_data)[exestack.ga_len - 1].es_lnum)
|
||||
|
||||
/// Argument for estack_sfile().
|
||||
typedef enum {
|
||||
ESTACK_NONE,
|
||||
ESTACK_SFILE,
|
||||
ESTACK_STACK,
|
||||
} estack_arg_T;
|
||||
|
||||
typedef struct scriptitem_S {
|
||||
char_u *sn_name;
|
||||
bool sn_prof_on; ///< true when script is/was profiled
|
||||
|
Reference in New Issue
Block a user