diff options
author | christianchiarulli <[email protected]> | 2021-07-07 00:00:29 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-07 00:00:29 -0400 |
commit | 01fc816f3111c629f07dbc66bfc70524b2f06457 (patch) | |
tree | 21a1f19a0608e01ddeb5e14efba94e7dfcc41de3 /lua/lv-nvimtree/init.lua | |
parent | beb1d28b19ca401e5e0243b635edae3d1f0b6f7f (diff) | |
parent | c7f2d4a39f5f02004435e273db0cdcb36786f4b3 (diff) |
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable
Diffstat (limited to 'lua/lv-nvimtree/init.lua')
-rw-r--r-- | lua/lv-nvimtree/init.lua | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lua/lv-nvimtree/init.lua b/lua/lv-nvimtree/init.lua index 5b8110dc..97cfe033 100644 --- a/lua/lv-nvimtree/init.lua +++ b/lua/lv-nvimtree/init.lua @@ -1,13 +1,13 @@ ---if not package.loaded['nvim-tree.view'] then --- return ---end - +-- --if not package.loaded['nvim-tree.view'] then +-- -- return +-- --end +-- local M = {} local status_ok, nvim_tree_config = pcall(require, "nvim-tree.config") if not status_ok then return end - +-- M.config = function() local g = vim.g @@ -69,9 +69,6 @@ local view_status_ok, view = pcall(require, "nvim-tree.view") if not view_status_ok then return end - ---local view = require "nvim-tree.view" - M.toggle_tree = function() if view.win_open() then require("nvim-tree").close() @@ -86,5 +83,5 @@ M.toggle_tree = function() require("nvim-tree").find_file(true) end end - +-- return M |