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.
diff --git a/src/structs.h b/src/structs.h
index 28cfa00..fc44d23 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -598,6 +598,8 @@
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;
/*