diff options
author | Mark Huggins <[email protected]> | 2022-10-21 01:21:22 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-21 01:21:22 -0400 |
commit | 36c8bdee9ff59a0a63c1edfc445b5eb2886cf246 (patch) | |
tree | 93bcea9656ca5534e20c36bb52e83fe557799a83 /lua/lvim/core/nvimtree.lua | |
parent | 30c65cfd74756954779f3ea9d232938e642bc07f (diff) |
refactor(plugins)!: remove nvim-notify from core (#3300)
Diffstat (limited to 'lua/lvim/core/nvimtree.lua')
-rw-r--r-- | lua/lvim/core/nvimtree.lua | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lua/lvim/core/nvimtree.lua b/lua/lvim/core/nvimtree.lua index 199279a6..d98816f5 100644 --- a/lua/lvim/core/nvimtree.lua +++ b/lua/lvim/core/nvimtree.lua @@ -147,23 +147,6 @@ function M.setup() return end - local status_ok_1, utils = pcall(require, "nvim-tree.utils") - if not status_ok_1 then - return - end - - local function notify_level() - return function(msg) - vim.schedule(function() - vim.api.nvim_echo({ { msg, "WarningMsg" } }, false, {}) - end) - end - end - - utils.notify.warn = notify_level(vim.log.levels.WARN) - utils.notify.error = notify_level(vim.log.levels.ERROR) - utils.notify.info = notify_level(vim.log.levels.INFO) - utils.notify.debug = notify_level(vim.log.levels.DEBUG) if lvim.builtin.nvimtree._setup_called then Log:debug "ignoring repeated setup call for nvim-tree, see kyazdani42/nvim-tree.lua#1308" |