diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 10:39:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 10:39:41 +0800 |
commit | a6f0e32d23930b5ab7d5c70d0c58e9964e3af408 (patch) | |
tree | d3b03ad0d09022a99f2adc006881a93ed0ebe670 /src/nvim/runtime.h | |
parent | 1c164689a4ef243be2a0e1b4332c9b6c56b5b031 (diff) | |
parent | 9ab9eb1220113d247dd1eb089cb6576a135b8699 (diff) | |
download | rneovim-a6f0e32d23930b5ab7d5c70d0c58e9964e3af408.tar.gz rneovim-a6f0e32d23930b5ab7d5c70d0c58e9964e3af408.tar.bz2 rneovim-a6f0e32d23930b5ab7d5c70d0c58e9964e3af408.zip |
Merge pull request #19763 from zeertzjq/vim-8.2.1297
vim-patch:8.2.{1297,1653,1658}: expand('<stack>')
Diffstat (limited to 'src/nvim/runtime.h')
-rw-r--r-- | src/nvim/runtime.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/runtime.h b/src/nvim/runtime.h index 6f9f31c9c4..a255c6c096 100644 --- a/src/nvim/runtime.h +++ b/src/nvim/runtime.h @@ -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 |