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:
tami5
2022-03-13 20:11:27 +03:00
committed by GitHub
parent 75b5730432
commit ef7b6ada6d
17 changed files with 311 additions and 116 deletions

View File

@@ -26,7 +26,7 @@ function from_entry.path(entry, validate, escape)
path = entry.value
end
if path == nil then
print("Invalid entry", vim.inspect(entry))
require("telescope.log").error(string.format("Invalid Entry: '%s'", vim.inspect(entry)))
return
end