diff options
author | James McCoy <jamessan@jamessan.com> | 2021-12-22 17:34:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-22 17:34:36 -0500 |
commit | 7b8fbbdebe90a2dbf0d57464c93c7d5bfc3da449 (patch) | |
tree | b0b9d09807c41a5912b65a78f13e5a0542fd9794 /src/nvim/sign.c | |
parent | 0c35fd5fcc4cbfbd55d005bbb1139b068425b442 (diff) | |
parent | 29141fc66a1f29acfbfd4a4fbdd645bbc4d96ddb (diff) | |
download | rneovim-7b8fbbdebe90a2dbf0d57464c93c7d5bfc3da449.tar.gz rneovim-7b8fbbdebe90a2dbf0d57464c93c7d5bfc3da449.tar.bz2 rneovim-7b8fbbdebe90a2dbf0d57464c93c7d5bfc3da449.zip |
Merge pull request #16754 from jamessan/vim-8.2.3874
vim-patch:8.2.3874
Diffstat (limited to 'src/nvim/sign.c')
-rw-r--r-- | src/nvim/sign.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/sign.c b/src/nvim/sign.c index 32be714184..a308df07d1 100644 --- a/src/nvim/sign.c +++ b/src/nvim/sign.c @@ -1740,7 +1740,7 @@ char_u *get_sign_name(expand_T *xp, int idx) case EXP_SUBCMD: return (char_u *)cmds[idx]; case EXP_DEFINE: { - char *define_arg[] = { "icon=", "linehl=", "text=", "texthl=", "numhl=", + char *define_arg[] = { "culhl=", "icon=", "linehl=", "numhl=", "text=", "texthl=", NULL }; return (char_u *)define_arg[idx]; } @@ -1849,6 +1849,7 @@ void set_context_in_sign_cmd(expand_T *xp, char_u *arg) case SIGNCMD_DEFINE: if (STRNCMP(last, "texthl", 6) == 0 || STRNCMP(last, "linehl", 6) == 0 + || STRNCMP(last, "culhl", 5) == 0 || STRNCMP(last, "numhl", 5) == 0) { xp->xp_context = EXPAND_HIGHLIGHT; } else if (STRNCMP(last, "icon", 4) == 0) { |