mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
Fix linter errors.
This commit is contained in:
@@ -1607,13 +1607,11 @@ win_found:
|
||||
if (qf_ptr->qf_col > 0) {
|
||||
curwin->w_cursor.col = qf_ptr->qf_col - 1;
|
||||
curwin->w_cursor.coladd = 0;
|
||||
if (qf_ptr->qf_viscol == TRUE) {
|
||||
/*
|
||||
* Check each character from the beginning of the error
|
||||
* line up to the error column. For each tab character
|
||||
* found, reduce the error column value by the length of
|
||||
* a tab character.
|
||||
*/
|
||||
if (qf_ptr->qf_viscol == true) {
|
||||
// Check each character from the beginning of the error
|
||||
// line up to the error column. For each tab character
|
||||
// found, reduce the error column value by the length of
|
||||
// a tab character.
|
||||
line = get_cursor_line_ptr();
|
||||
screen_col = 0;
|
||||
for (char_col = 0; char_col < curwin->w_cursor.col; ++char_col) {
|
||||
|
Reference in New Issue
Block a user