mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: enable formatting for ternaries
This requires removing the "Inner expression should be aligned" rule from clint as it prevents essentially any formatting regarding ternary operators.
This commit is contained in:
@@ -888,7 +888,7 @@ int get_breakindent_win(win_T *wp, char *line)
|
||||
// always leave at least bri_min characters on the left,
|
||||
// if text width is sufficient
|
||||
bri = (eff_wwidth - wp->w_briopt_min < 0)
|
||||
? 0 : eff_wwidth - wp->w_briopt_min;
|
||||
? 0 : eff_wwidth - wp->w_briopt_min;
|
||||
}
|
||||
|
||||
return bri;
|
||||
|
Reference in New Issue
Block a user