diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-01-25 00:34:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 07:34:18 +0800 |
commit | 76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd (patch) | |
tree | fd866e264e75629d4d16e242f20f824c975b8054 /src/nvim/highlight.c | |
parent | 6ea6b3fee27d51607ca4a5ace46dbc38a4481bcb (diff) | |
download | rneovim-76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd.tar.gz rneovim-76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd.tar.bz2 rneovim-76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd.zip |
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>
Diffstat (limited to 'src/nvim/highlight.c')
-rw-r--r-- | src/nvim/highlight.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index 47a87b90c3..17d743784f 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -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; } |