From 94c7c810af205c0f00c8f105dcf490c8eb17658a Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sun, 10 Sep 2023 10:38:49 +1000 Subject: [PATCH] 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 807dc051560afda30956320ed718def878f655f0. --- lua/nvim-tree.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/nvim-tree.lua b/lua/nvim-tree.lua index 006a104f..6b9a0d23 100644 --- a/lua/nvim-tree.lua +++ b/lua/nvim-tree.lua @@ -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