From c723fec43659b7aa2ded50fed78fdb68f5372df3 Mon Sep 17 00:00:00 2001 From: urosm Date: Mon, 26 Aug 2024 17:09:41 +0200 Subject: [PATCH] .config/vis: add syntax info to statusline --- .config/vis/visrc.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua index 23ab02e..d0fb44d 100644 --- a/.config/vis/visrc.lua +++ b/.config/vis/visrc.lua @@ -151,6 +151,9 @@ e.subscribe(e.WIN_STATUS, function(win) ..(vis.input_queue or '') ..(vis.recording and '@' or '') + -- syntax + table.insert(right_parts, win.syntax) + -- character under cursor table.insert(right_parts, '<'