mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +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:
@@ -3983,7 +3983,7 @@ int win_new_tabpage(int after, char *filename)
|
||||
}
|
||||
|
||||
newtp->tp_localdir = old_curtab->tp_localdir
|
||||
? xstrdup(old_curtab->tp_localdir) : NULL;
|
||||
? xstrdup(old_curtab->tp_localdir) : NULL;
|
||||
|
||||
curtab = newtp;
|
||||
|
||||
|
Reference in New Issue
Block a user