aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
authorLaurence de Bruxelles <lfdebrux@gmail.com>2025-09-19 10:19:10 +0300
committerRandy Palamar <randy@rnpnr.xyz>2025-12-14 06:09:11 -0700
commit992804cb27993d5de8e6830a8ab9268045ce6892 (patch)
treeb86c44c3154370d587c46050560516fcb10d9936 /vis-lua.c
parent6c519e91c684838bebcc6d49d894af956f6815b4 (diff)
downloadvis-992804cb27993d5de8e6830a8ab9268045ce6892.tar.gz
vis-992804cb27993d5de8e6830a8ab9268045ce6892.tar.xz
Use STYLE_WHITESPACE for spaces, newlines, and tabs
Allow theming the replacement characters shown for showspaces, showtabs, and/or shownewlines.
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vis-lua.c b/vis-lua.c
index e226d18..fa7ef35 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -3316,6 +3316,7 @@ static void vis_lua_init(Vis *vis) {
{ UI_STYLE_SEPARATOR, "STYLE_SEPARATOR" },
{ UI_STYLE_INFO, "STYLE_INFO" },
{ UI_STYLE_EOF, "STYLE_EOF" },
+ { UI_STYLE_WHITESPACE, "STYLE_WHITESPACE" },
};
for (size_t i = 0; i < LENGTH(styles); i++) {