mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0284: using static buffer for multiple completion functions
Problem: Using static buffer for multiple completion functions. Solution: Use one buffer in expand_T.
This commit is contained in:
@@ -598,6 +598,8 @@ typedef struct expand
|
||||
int xp_col; // cursor position in line
|
||||
char_u **xp_files; // list of files
|
||||
char_u *xp_line; // text being completed
|
||||
#define EXPAND_BUF_LEN 256
|
||||
char_u xp_buf[EXPAND_BUF_LEN]; // buffer for returned match
|
||||
} expand_T;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user