aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight.h
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2024-06-11 11:10:34 -0500
committerGregory Anders <greg@gpanders.com>2024-06-12 10:43:57 -0500
commit3e09fbdf82a181f1c0be1513fd50a17bf5b0a754 (patch)
tree28ee82c93d3eb31de526c3f3b663586c56a54626 /src/nvim/highlight.h
parent72155121006bca884e154e935640054f2e090367 (diff)
downloadrneovim-3e09fbdf82a181f1c0be1513fd50a17bf5b0a754.tar.gz
rneovim-3e09fbdf82a181f1c0be1513fd50a17bf5b0a754.tar.bz2
rneovim-3e09fbdf82a181f1c0be1513fd50a17bf5b0a754.zip
feat(highlight): add StatusLineTerm and StatusLineTermNC groups
These highlight groups are used for the statusline in :terminal windows. By default they link to StatusLine and StatusLineNC (respectively), so there is no visual difference unless a colorscheme defines these groups separately.
Diffstat (limited to 'src/nvim/highlight.h')
-rw-r--r--src/nvim/highlight.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/highlight.h b/src/nvim/highlight.h
index cb3a84bcaf..558727fc51 100644
--- a/src/nvim/highlight.h
+++ b/src/nvim/highlight.h
@@ -78,6 +78,8 @@ EXTERN const char *hlf_names[] INIT( = {
[HLF_CU] = "Cursor",
[HLF_BTITLE] = "FloatTitle",
[HLF_BFOOTER] = "FloatFooter",
+ [HLF_TS] = "StatusLineTerm",
+ [HLF_TSNC] = "StatusLineTermNC",
});
EXTERN int highlight_attr[HLF_COUNT + 1]; // Highl. attr for each context.