mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
move/remove W_* macros
move W_ENDCOL to screen.c remove the rest of the W_* macros
This commit is contained in:
@@ -186,7 +186,7 @@ void ex_align(exarg_T *eap)
|
||||
if (width <= 0)
|
||||
width = curbuf->b_p_tw;
|
||||
if (width == 0 && curbuf->b_p_wm > 0)
|
||||
width = W_WIDTH(curwin) - curbuf->b_p_wm;
|
||||
width = curwin->w_width - curbuf->b_p_wm;
|
||||
if (width <= 0)
|
||||
width = 80;
|
||||
}
|
||||
|
Reference in New Issue
Block a user