diff options
author | James McCoy <jamessan@jamessan.com> | 2022-03-05 15:00:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-05 15:00:07 -0500 |
commit | c365de1d22de3e70e785267fe19cb9c43b42d355 (patch) | |
tree | eedb8f3597ba982066a11b9f39f94e16f25f31d6 /src/nvim/syntax.c | |
parent | d557a4557100e3ab48a504dafcf53f544196595c (diff) | |
parent | 7fd1182c62d6e969ac15b3891bfcc4ff480d6953 (diff) | |
download | rneovim-c365de1d22de3e70e785267fe19cb9c43b42d355.tar.gz rneovim-c365de1d22de3e70e785267fe19cb9c43b42d355.tar.bz2 rneovim-c365de1d22de3e70e785267fe19cb9c43b42d355.zip |
Merge pull request #17589 from kchibisov/add-dashed-dotted-underline
Add support for double, dashed, and dotted underlines
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 1e7801faee..54fce3d968 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -121,11 +121,11 @@ static int include_link = 0; // when 2 include "nvim/link" and "clear" /// The "term", "cterm" and "gui" arguments can be any combination of the /// following names, separated by commas (but no spaces!). static char *(hl_name_table[]) = -{ "bold", "standout", "underline", "undercurl", - "italic", "reverse", "inverse", "strikethrough", "nocombine", "NONE" }; +{ "bold", "standout", "underline", "underlineline", "undercurl", "underdot", + "underdash", "italic", "reverse", "inverse", "strikethrough", "nocombine", "NONE" }; static int hl_attr_table[] = -{ HL_BOLD, HL_STANDOUT, HL_UNDERLINE, HL_UNDERCURL, HL_ITALIC, HL_INVERSE, - HL_INVERSE, HL_STRIKETHROUGH, HL_NOCOMBINE, 0 }; +{ HL_BOLD, HL_STANDOUT, HL_UNDERLINE, HL_UNDERLINELINE, HL_UNDERCURL, HL_UNDERDOT, HL_UNDERDASH, + HL_ITALIC, HL_INVERSE, HL_INVERSE, HL_STRIKETHROUGH, HL_NOCOMBINE, 0 }; static char e_illegal_arg[] = N_("E390: Illegal argument: %s"); |