mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
linter: make changes pass the linter
This commit is contained in:
@@ -1917,7 +1917,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
|
||||
// Restore linebreak, so that when the user edits it looks as
|
||||
// before.
|
||||
curwin->w_p_lbr = lbr_saved;
|
||||
op_function(oap); /* call 'operatorfunc' */
|
||||
op_function(oap); // call 'operatorfunc'
|
||||
break;
|
||||
|
||||
case OP_INSERT:
|
||||
@@ -4769,10 +4769,10 @@ static void nv_ident(cmdarg_T *cap)
|
||||
ptr = vim_strnsave(ptr, n);
|
||||
if (kp_ex) {
|
||||
// Escape the argument properly for an Ex command
|
||||
p = vim_strsave_fnameescape(ptr, FALSE);
|
||||
p = vim_strsave_fnameescape(ptr, false);
|
||||
} else {
|
||||
// Escape the argument properly for a shell command
|
||||
p = vim_strsave_shellescape(ptr, TRUE, TRUE);
|
||||
p = vim_strsave_shellescape(ptr, true, true);
|
||||
}
|
||||
xfree(ptr);
|
||||
char *newbuf = xrealloc(buf, STRLEN(buf) + STRLEN(p) + 1);
|
||||
|
Reference in New Issue
Block a user