We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eebc4f5 commit 080d13dCopy full SHA for 080d13d
1 file changed
lua/cursor/cursor.lua
@@ -181,8 +181,12 @@ function M.stringify_form_part(cursor)
181
end
182
183
if cursor.hl then
184
+ if #cursor_str > 0 then
185
+ cursor_str = cursor_str .. '-'
186
+ end
187
+
188
---@diagnostic disable-next-line: param-type-mismatch
- return cursor_str .. '-' .. (type(cursor.hl) == 'table' and table.concat(cursor.hl, '/') or cursor.hl)
189
+ return cursor_str .. (type(cursor.hl) == 'table' and table.concat(cursor.hl, '/') or cursor.hl)
190
191
192
return cursor_str
0 commit comments