1
0
Fork 0

.config/vis: add syntax info to statusline

main
urosm 2024-08-26 17:09:41 +02:00
parent 882c29042a
commit c723fec436
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ e.subscribe(e.WIN_STATUS, function(win)
..(vis.input_queue or '') ..(vis.input_queue or '')
..(vis.recording and '@' or '') ..(vis.recording and '@' or '')
-- syntax
table.insert(right_parts, win.syntax)
-- character under cursor -- character under cursor
table.insert(right_parts, table.insert(right_parts,
'<' '<'