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:
@@ -7,7 +7,7 @@ extensions._health = {}
|
||||
local load_extension = function(name)
|
||||
local ok, ext = pcall(require, "telescope._extensions." .. name)
|
||||
if not ok then
|
||||
error("This extension doesn't exist or is not installed: " .. name .. "\n" .. ext)
|
||||
error(string.format("'%s' extension doesn't exist or isn't installed: %s", name, ext))
|
||||
end
|
||||
return ext
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user