diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-11-14 14:44:33 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-11-14 14:50:11 +0100 |
| commit | f840bcaf95dea328b9edc76c68e27d42cf79330b (patch) | |
| tree | 08062e60fe7d0897f413823992b053ab2d2784e7 /lua | |
| parent | c0d083f4ca827d83c6b8beafd52a0ea95ece73da (diff) | |
| download | vis-f840bcaf95dea328b9edc76c68e27d42cf79330b.tar.gz vis-f840bcaf95dea328b9edc76c68e27d42cf79330b.tar.xz | |
lua: fix table member reference in set_syntax
Reported-By: aimixsaka <aimixsaka@gmail.com>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/vis.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/vis.lua b/lua/vis.lua index d06bbaf..9ac41b0 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -288,7 +288,7 @@ vis.types.window.set_syntax = function(win, syntax) if type(style) == 'table' then local s = '' if style.attr then - s = string.format("%s,%s", s, attr) + s = string.format("%s,%s", s, style.attr) elseif style.fore then s = string.format("%s,fore:%s", s, style.fore) elseif style.back then |
