mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ext_cmdline: lint
This commit is contained in:
parent
26fd70bd18
commit
b7a8a76f6e
@ -3121,13 +3121,16 @@ static void redrawcmdprompt(void)
|
||||
} else {
|
||||
msg_puts_attr((const char *)ccline.cmdprompt, ccline.cmdattr);
|
||||
ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
|
||||
/* do the reverse of set_cmdspos() */
|
||||
if (ccline.cmdfirstc != NUL)
|
||||
--ccline.cmdindent;
|
||||
// do the reverse of set_cmdspos()
|
||||
if (ccline.cmdfirstc != NUL) {
|
||||
ccline.cmdindent--;
|
||||
}
|
||||
}
|
||||
} else
|
||||
for (i = ccline.cmdindent; i > 0; --i)
|
||||
} else {
|
||||
for (i = ccline.cmdindent; i > 0; i--) {
|
||||
msg_putchar(' ');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1,7 +1,6 @@
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local Screen = require('test.functional.ui.screen')
|
||||
local clear, feed, execute, eq = helpers.clear, helpers.feed, helpers.execute, helpers.eq
|
||||
local funcs = helpers.funcs
|
||||
local clear, feed, eq = helpers.clear, helpers.feed, helpers.eq
|
||||
|
||||
if helpers.pending_win32(pending) then return end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user