diff options
author | dundargoc <gocdundar@gmail.com> | 2023-11-16 10:59:11 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-11-20 19:57:09 +0100 |
commit | a6e3d93421ba13c407a96fac9cc01fa41ec7ad98 (patch) | |
tree | e84209969b11fe2f0dabcad00a271468b2199bc9 /src/nvim/globals.h | |
parent | ec79ff893d5906e1f0d90953cffa535ffae47823 (diff) | |
download | rneovim-a6e3d93421ba13c407a96fac9cc01fa41ec7ad98.tar.gz rneovim-a6e3d93421ba13c407a96fac9cc01fa41ec7ad98.tar.bz2 rneovim-a6e3d93421ba13c407a96fac9cc01fa41ec7ad98.zip |
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.
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 4144a7c8ac..a6c4f5b08e 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -426,8 +426,8 @@ EXTERN win_T *prevwin INIT( = NULL); // previous window FOR_ALL_WINDOWS_IN_TAB(wp, tp) #define FOR_ALL_WINDOWS_IN_TAB(wp, tp) \ - for (win_T *wp = ((tp) == curtab) \ - ? firstwin : (tp)->tp_firstwin; wp != NULL; wp = wp->w_next) + for (win_T *wp = ((tp) == curtab) ? firstwin : (tp)->tp_firstwin; \ + wp != NULL; wp = wp->w_next) EXTERN win_T *curwin; // currently active window |