We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01f7bfc + 4119ef4 commit 3c3b56fCopy full SHA for 3c3b56f
lua/cord.lua
@@ -201,6 +201,13 @@ local function update_presence(config)
201
and (current_presence.cursor_line .. ':' .. current_presence.cursor_col)
202
or nil
203
204
+ if current_presence.type == 'toggleterm' then
205
+ local type = current_presence.name:match ':(.-);#toggleterm'
206
+
207
+ current_presence.name = type or current_presence.name
208
+ current_presence.type = type or current_presence.type
209
+ end
210
211
local icon, name =
212
utils.get_icon(config, current_presence.name, current_presence.type)
213
0 commit comments