mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented code
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code. Solution: Call skipdigits() on the next character. Improve indenting. (Dominique Pellé, closes #8227)
This commit is contained in:
committed by
Bram Moolenaar
parent
796139ae3a
commit
4781d6fd86
@@ -3985,12 +3985,13 @@ do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank)
|
||||
op_formatexpr(oap); // use expression
|
||||
else
|
||||
#endif
|
||||
{
|
||||
if (*p_fp != NUL || *curbuf->b_p_fp != NUL)
|
||||
op_colon(oap); // use external command
|
||||
else
|
||||
op_format(oap, FALSE); // use internal function
|
||||
op_colon(oap); // use external command
|
||||
else
|
||||
op_format(oap, FALSE); // use internal function
|
||||
}
|
||||
break;
|
||||
|
||||
case OP_FORMAT2:
|
||||
op_format(oap, TRUE); // use internal function
|
||||
break;
|
||||
|
Reference in New Issue
Block a user