diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-09-08 09:47:10 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-11-01 19:14:56 +0100 |
commit | c146eddc8b768f1cd395ea0ce54c19e64eff0c08 (patch) | |
tree | da1fe59768dcc60901da66b18d848b2d81b6e072 /test/functional/ui/screen.lua | |
parent | 037ffd54dcd8edba6787d93273e6696b7a366ac6 (diff) | |
download | rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.tar.gz rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.tar.bz2 rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.zip |
api: add API for themes
co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function)
orange is sus??
NOVEMBER DAWN
erase the lie that is redraw_later()
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index bf979e89f4..8fa9fcc42f 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -1289,7 +1289,7 @@ local function fmt_ext_state(name, state) for k,v in pairs(state) do str = (str.." ["..k.."] = {win = {id = "..v.win.id.."}, topline = " ..v.topline..", botline = "..v.botline..", curline = "..v.curline - ..", curcol = "..v.curcol.."},\n") + ..", curcol = "..v.curcol.."};\n") end return str .. "}" else @@ -1316,7 +1316,7 @@ function Screen:print_snapshot(attrs, ignore) dict = "{"..self:_pprint_attrs(a).."}" end local keyval = (type(i) == "number") and "["..tostring(i).."]" or i - table.insert(attrstrs, " "..keyval.." = "..dict..",") + table.insert(attrstrs, " "..keyval.." = "..dict..";") end attrstr = (", attr_ids={\n"..table.concat(attrstrs, "\n").."\n}") end |