Revert "fix: ensure startup warnings are visible with a multiline message, to work around https://github.com/neovim/neovim/issues/17832 planned for fix in nvim 0.10 (#2387)"
This reverts commit 807dc05156.
This commit is contained in:
@@ -691,7 +691,7 @@ local function validate_options(conf)
|
||||
validate(conf, DEFAULT_OPTS, ACCEPTED_STRINGS, "")
|
||||
|
||||
if msg then
|
||||
vim.notify_once(msg .. " | see :help nvim-tree-opts for available configuration options\n", vim.log.levels.WARN)
|
||||
vim.notify_once(msg .. " | see :help nvim-tree-opts for available configuration options", vim.log.levels.WARN)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -714,7 +714,7 @@ end
|
||||
|
||||
function M.setup(conf)
|
||||
if vim.fn.has "nvim-0.8" == 0 then
|
||||
vim.notify_once("nvim-tree.lua requires Neovim 0.8 or higher\n", vim.log.levels.WARN)
|
||||
vim.notify_once("nvim-tree.lua requires Neovim 0.8 or higher", vim.log.levels.WARN)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user