mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4603: sourcing buffer lines is too complicated
Problem: Sourcing buffer lines is too complicated. Solution: Simplify the code. Make it possible to source Vim9 script lines. (Yegappan Lakshmanan, closes #9974)
This commit is contained in:
committed by
Bram Moolenaar
parent
397a87ac1c
commit
85b43c6cb7
@@ -4426,6 +4426,9 @@ typedef struct {
|
||||
char_u *nextline; // if not NULL: line that was read ahead
|
||||
linenr_T sourcing_lnum; // line number of the source file
|
||||
int finished; // ":finish" used
|
||||
int source_from_buf;// TRUE if sourcing from current buffer
|
||||
int buf_lnum; // line number in the current buffer
|
||||
garray_T buflines; // lines in the current buffer
|
||||
#ifdef USE_CRNL
|
||||
int fileformat; // EOL_UNKNOWN, EOL_UNIX or EOL_DOS
|
||||
int error; // TRUE if LF found after CR-LF
|
||||
|
Reference in New Issue
Block a user