mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +00:00
vim-patch:8.1.0362: cannot get the script line number when executing a function
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes vim/vim#3362) Also display the line number with ":verbose set".
f29c1c6aa3
This commit is contained in:
@@ -143,9 +143,9 @@ struct exarg {
|
||||
struct expand {
|
||||
int xp_context; // type of expansion
|
||||
char_u *xp_pattern; // start of item to expand
|
||||
size_t xp_pattern_len; // bytes in xp_pattern before cursor
|
||||
size_t xp_pattern_len; // bytes in xp_pattern before cursor
|
||||
char_u *xp_arg; // completion function
|
||||
int xp_scriptID; // SID for completion function
|
||||
sctx_T xp_script_ctx; // SCTX for completion function
|
||||
int xp_backslash; // one of the XP_BS_ values
|
||||
#ifndef BACKSLASH_IN_FILENAME
|
||||
int xp_shell; // TRUE for a shell command, more
|
||||
|
Reference in New Issue
Block a user