A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/52fe8eae078b027a04510715cc01b981f6879f8d below:

do not update syntax_last_parsed when drawing folded lin… · neovim/neovim@52fe8ea · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+8

-8

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+8

-8

lines changed Original file line number Diff line number Diff line change

@@ -1545,17 +1545,17 @@ static void win_update(win_T *wp, DecorProviders *providers)

1545 1545

foldinfo.fi_lines ? srow : wp->w_grid.Rows,

1546 1546

mod_top == 0, false, foldinfo, &line_providers);

1547 1547 1548 -

wp->w_lines[idx].wl_folded = foldinfo.fi_lines != 0;

1549 -

wp->w_lines[idx].wl_lastlnum = lnum;

1550 -

did_update = DID_LINE;

1551 - 1552 -

if (foldinfo.fi_lines > 0) {

1553 -

did_update = DID_FOLD;

1548 +

if (foldinfo.fi_lines == 0) {

1549 +

wp->w_lines[idx].wl_folded = false;

1550 +

wp->w_lines[idx].wl_lastlnum = lnum;

1551 +

did_update = DID_LINE;

1552 +

syntax_last_parsed = lnum;

1553 +

} else {

1554 1554

foldinfo.fi_lines--;

1555 +

wp->w_lines[idx].wl_folded = true;

1555 1556

wp->w_lines[idx].wl_lastlnum = lnum + foldinfo.fi_lines;

1557 +

did_update = DID_FOLD;

1556 1558

}

1557 - 1558 -

syntax_last_parsed = lnum;

1559 1559

}

1560 1560 1561 1561

wp->w_lines[idx].wl_lnum = lnum;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4