diff options
author | Mark Huggins <[email protected]> | 2022-10-21 01:21:22 -0400 |
---|---|---|
committer | Mark Huggins <[email protected]> | 2022-10-24 10:40:00 +0200 |
commit | 30629e1a625a20eeebaa2d0ecdc79f7c26d1626c (patch) | |
tree | daf9a5d1a5e2d22beb85c460579d7d58a61b7d03 /lua/lvim/core/nvimtree.lua | |
parent | ccd6d367b77d6ca2cd265f2c13e44e5cb09cc6b2 (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" |