mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
fix(api): extmark highlight groups not always included in details (#23179)
Problem: Erroneous for loop condition. Solution: Remove for loop condition.
This commit is contained in:
@@ -208,7 +208,7 @@ static Array extmark_to_array(const ExtmarkInfo *extmark, bool id, bool add_dict
|
||||
|
||||
// uncrustify:on
|
||||
|
||||
for (int j = 0; hls[j].name && hls[j].val; j++) {
|
||||
for (int j = 0; hls[j].name; j++) {
|
||||
if (hls[j].val) {
|
||||
PUT(dict, hls[j].name, hl_group_name(hls[j].val, hl_name));
|
||||
}
|
||||
|
Reference in New Issue
Block a user