Skip to content

Commit 94c7c81

Browse files
committed
Revert "fix: ensure startup warnings are visible with a multiline message, to work around neovim/neovim#17832 planned for fix in nvim 0.10 (#2387)"
This reverts commit 807dc05.
1 parent b7f6600 commit 94c7c81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/nvim-tree.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ local function validate_options(conf)
691691
validate(conf, DEFAULT_OPTS, ACCEPTED_STRINGS, "")
692692

693693
if msg then
694-
vim.notify_once(msg .. " | see :help nvim-tree-opts for available configuration options\n", vim.log.levels.WARN)
694+
vim.notify_once(msg .. " | see :help nvim-tree-opts for available configuration options", vim.log.levels.WARN)
695695
end
696696
end
697697

@@ -714,7 +714,7 @@ end
714714

715715
function M.setup(conf)
716716
if vim.fn.has "nvim-0.8" == 0 then
717-
vim.notify_once("nvim-tree.lua requires Neovim 0.8 or higher\n", vim.log.levels.WARN)
717+
vim.notify_once("nvim-tree.lua requires Neovim 0.8 or higher", vim.log.levels.WARN)
718718
return
719719
end
720720

0 commit comments

Comments
 (0)