mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
docs: various fixes (#27063)
Co-authored-by: lmenou <menl94629@gmail.com> Co-authored-by: altermo <107814000+altermo@users.noreply.github.com> Co-authored-by: VanaIgr <vanaigranov@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
@@ -484,7 +484,7 @@ int hl_get_underline(void)
|
||||
});
|
||||
}
|
||||
|
||||
/// Augment an existing attribute with the beginning or end of a URL hyperlink.
|
||||
/// Augment an existing attribute with a URL.
|
||||
///
|
||||
/// @param attr Existing attribute to combine with
|
||||
/// @param url The URL to associate with the highlight attribute
|
||||
@@ -646,7 +646,6 @@ int hl_combine_attr(int char_attr, int prim_attr)
|
||||
}
|
||||
|
||||
if ((new_en.url == -1) && (prim_aep.url >= 0)) {
|
||||
// Combined attributes borrow the string from the primary attribute
|
||||
new_en.url = prim_aep.url;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user