mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
lint
This commit is contained in:
parent
47d52e1578
commit
41dbb69a85
@ -7881,7 +7881,7 @@ static void ins_mousescroll(int dir)
|
||||
int row = mouse_row;
|
||||
int col = mouse_col;
|
||||
|
||||
/* find the window at the pointer coordinates */
|
||||
// find the window at the pointer coordinates
|
||||
win_T *const wp = mouse_find_win(&row, &col);
|
||||
if (wp == NULL) {
|
||||
return;
|
||||
|
@ -442,7 +442,7 @@ void flush_buffers(int flush_typeahead)
|
||||
// Reset the flag that text received from a client or from feedkeys()
|
||||
// was inserted in the typeahead buffer.
|
||||
typebuf_was_filled = false;
|
||||
} else { /* remove mapped characters at the start only */
|
||||
} else { // remove mapped characters at the start only
|
||||
typebuf.tb_off += typebuf.tb_maplen;
|
||||
typebuf.tb_len -= typebuf.tb_maplen;
|
||||
}
|
||||
|
@ -165,7 +165,7 @@ open_line (
|
||||
*p_extra = NUL;
|
||||
}
|
||||
|
||||
u_clearline(); /* cannot do "U" command when adding lines */
|
||||
u_clearline(); // cannot do "U" command when adding lines
|
||||
did_si = false;
|
||||
ai_col = 0;
|
||||
|
||||
@ -287,7 +287,7 @@ open_line (
|
||||
*/
|
||||
if (last_char == '{') {
|
||||
did_si = true; // do indent
|
||||
no_si = TRUE; /* don't delete it when '{' typed */
|
||||
no_si = true; // don't delete it when '{' typed
|
||||
}
|
||||
/*
|
||||
* Look for "if" and the like, use 'cinwords'.
|
||||
|
@ -3994,7 +3994,7 @@ static void nv_mousescroll(cmdarg_T *cap)
|
||||
row = mouse_row;
|
||||
col = mouse_col;
|
||||
|
||||
/* find the window at the pointer coordinates */
|
||||
// find the window at the pointer coordinates
|
||||
win_T *const wp = mouse_find_win(&row, &col);
|
||||
if (wp == NULL) {
|
||||
return;
|
||||
|
@ -1473,8 +1473,8 @@ int op_delete(oparg_T *oap)
|
||||
}
|
||||
if (u_save_cursor() == FAIL)
|
||||
return FAIL;
|
||||
if (curbuf->b_p_ai) { /* don't delete indent */
|
||||
beginline(BL_WHITE); /* cursor on first non-white */
|
||||
if (curbuf->b_p_ai) { // don't delete indent
|
||||
beginline(BL_WHITE); // cursor on first non-white
|
||||
did_ai = true; // delete the indent when ESC hit
|
||||
ai_col = curwin->w_cursor.col;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user