Removing the VIM browse patch.
The general reasoning is that the vim browse patch is very invasive, has a high level of complexity, and is incompatible with a significant number of other patches and it complicates further maintenance. Additionally the patch has its own scrollback mechanism which seemingly did not work properly - and nobody seems to have complained about this since the patch was added back in May 2021. If you want to try out the vim browse patch then I would recommend having a play around with the patch author's own build that has this patch integrated: - https://github.com/juliusHuelsmann/st-history-vim - https://github.com/juliusHuelsmann/st Alternatively a tag has been added to this repository that refers to the last commit that still has the vim browse patch: - https://github.com/bakkeby/st-flexipatch/tree/VIM_BROWSE_PATCH
This commit is contained in:
parent
340caa5d0a
commit
e88f2bf20c
13 changed files with 40 additions and 938 deletions
8
st.h
8
st.h
|
|
@ -16,9 +16,6 @@
|
|||
#define MAX(a, b) ((a) < (b) ? (b) : (a))
|
||||
#define LEN(a) (sizeof(a) / sizeof(a)[0])
|
||||
#define BETWEEN(x, a, b) ((a) <= (x) && (x) <= (b))
|
||||
#if VIM_BROWSE_PATCH
|
||||
#define OUT(x, a, b) ((a) <= (x) || (x) <= (b))
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
#define DIVCEIL(n, d) (((n) + ((d) - 1)) / (d))
|
||||
#define DEFAULT(a, b) (a) = (a) ? (a) : (b)
|
||||
#define LIMIT(x, a, b) (x) = (x) < (a) ? (a) : (x) > (b) ? (b) : (x)
|
||||
|
|
@ -164,7 +161,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
int row; /* nb row */
|
||||
int col; /* nb col */
|
||||
#if COLUMNS_PATCH && !VIM_BROWSE_PATCH
|
||||
#if COLUMNS_PATCH
|
||||
int maxcol;
|
||||
#endif // COLUMNS_PATCH
|
||||
Line *line; /* screen */
|
||||
|
|
@ -341,9 +338,6 @@ int tattrset(int);
|
|||
int tisaltscr(void);
|
||||
void tnew(int, int);
|
||||
void tresize(int, int);
|
||||
#if VIM_BROWSE_PATCH
|
||||
void tmoveto(int x, int y);
|
||||
#endif // VIM_BROWSE_PATCH
|
||||
void tsetdirtattr(int);
|
||||
void ttyhangup(void);
|
||||
int ttynew(const char *, char *, const char *, char **);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue