mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
refactor: clint (#20600)
This commit is contained in:
@@ -266,13 +266,12 @@ void ex_align(exarg_T *eap)
|
||||
}
|
||||
|
||||
for (curwin->w_cursor.lnum = eap->line1;
|
||||
curwin->w_cursor.lnum <= eap->line2; ++curwin->w_cursor.lnum) {
|
||||
curwin->w_cursor.lnum <= eap->line2; curwin->w_cursor.lnum++) {
|
||||
if (eap->cmdidx == CMD_left) { // left align
|
||||
new_indent = indent;
|
||||
} else {
|
||||
has_tab = false; // avoid uninit warnings
|
||||
len = linelen(eap->cmdidx == CMD_right ? &has_tab
|
||||
: NULL) - get_indent();
|
||||
len = linelen(eap->cmdidx == CMD_right ? &has_tab : NULL) - get_indent();
|
||||
|
||||
if (len <= 0) { // skip blank lines
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user