feat: improve UX with vim.notify (#1763)
* fix(notify): don't report request on new line * ref(notify): update message format * ref(msgs): always quote values + decrease duplication * fix(ci): undefined variables * ref(actions): temporary silent actions.__index errors * cleanup * revert: panic effort, we continue to use error for those Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
@@ -948,7 +948,7 @@ previewers.highlights = defaulter(function(_)
|
||||
if v ~= "" then
|
||||
if v:sub(1, 1) == " " then
|
||||
local part_of_old = v:match "%s+(.*)"
|
||||
hl_groups[table.getn(hl_groups)] = hl_groups[table.getn(hl_groups)] .. part_of_old
|
||||
hl_groups[#hl_groups] = hl_groups[#hl_groups] .. part_of_old
|
||||
else
|
||||
table.insert(hl_groups, v)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user