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 {
|
} else {
|
||||||
msg_puts_attr((const char *)ccline.cmdprompt, ccline.cmdattr);
|
msg_puts_attr((const char *)ccline.cmdprompt, ccline.cmdattr);
|
||||||
ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
|
ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
|
||||||
/* do the reverse of set_cmdspos() */
|
// do the reverse of set_cmdspos()
|
||||||
if (ccline.cmdfirstc != NUL)
|
if (ccline.cmdfirstc != NUL) {
|
||||||
--ccline.cmdindent;
|
ccline.cmdindent--;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
for (i = ccline.cmdindent; i > 0; --i)
|
for (i = ccline.cmdindent; i > 0; i--) {
|
||||||
msg_putchar(' ');
|
msg_putchar(' ');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
local helpers = require('test.functional.helpers')(after_each)
|
local helpers = require('test.functional.helpers')(after_each)
|
||||||
local Screen = require('test.functional.ui.screen')
|
local Screen = require('test.functional.ui.screen')
|
||||||
local clear, feed, execute, eq = helpers.clear, helpers.feed, helpers.execute, helpers.eq
|
local clear, feed, eq = helpers.clear, helpers.feed, helpers.eq
|
||||||
local funcs = helpers.funcs
|
|
||||||
|
|
||||||
if helpers.pending_win32(pending) then return end
|
if helpers.pending_win32(pending) then return end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user