~havi/nvim.d

3ccc6f82211760a01295aebc8ffbf09f983a1294 — havi a month ago d791e91 master
fix(nvim-tree): removed pinned commit and fixed viewing `.git*` files
2 files changed, 33 insertions(+), 33 deletions(-)

M lua/plugins.lua
M lua/plugins/core/nvim-tree.lua
M lua/plugins.lua => lua/plugins.lua +1 -1
@@ 350,7 350,7 @@ packer.startup(function(use)
      requires = { "kyazdani42/nvim-web-devicons", "nvim-lua/popup.nvim", "nvim-lua/plenary.nvim" },
      setup = [[require("plugins.core.nvim-tree").setup()]],
      config = [[require("plugins.core.nvim-tree").config()]],
      commit = "7282f7de8aedf861fe0162a559fc2b214383c51c",
      --commit = "7282f7de8aedf861fe0162a559fc2b214383c51c",
   })
   -- TODO: Add configuration
   use({ "edluffy/hologram.nvim", opt = false })

M lua/plugins/core/nvim-tree.lua => lua/plugins/core/nvim-tree.lua +32 -32
@@ 54,10 54,10 @@ function M.config()
      ignore_ft_on_setup = { "dashboard" },
      update_cwd = true,
      respect_buf_cwd = true,
      -- update_to_buf_dir = {
      --    enable = true,
      --    auto_open = true,
      -- },
      update_to_buf_dir = {
         enable = true,
         auto_open = true,
      },
      diagnostics = {
         enable = true,
         icons = {


@@ 83,39 83,39 @@ function M.config()
      },
      filters = {
         dotfiles = true,
         custom = { "node_modules", "target", ".git", ".vagrant", ".cache" },
         custom = { "node_modules", "target", "^.git$", ".vagrant", ".cache" },
      },
      trash = {
         cmd = "trash",
         require_confirm = true,
      },
      actions = {
         open_file = {
            window_picker = {
               exclude = {
                  filetype = {
                     "packer",
                     "qf",
                     "Trouble",
                     "TelescopePrompt",
                     "Outline",
                     "dapui_scopes",
                     "dapui_breakpoints",
                     "dapui_stacks",
                     "dapui_watches",
                     "dapui_repl",
                     "dap_repl",
                  },
                  buftype = { "terminal" },
               },
            },
         },
         change_dir = {
            enable = true,
            global = false,
            restrict_above_cwd = false,
         },
      },
      -- actions = {
      --    open_file = {
      --       window_picker = {
      --          exclude = {
      --             filetype = {
      --                "packer",
      --                "qf",
      --                "Trouble",
      --                "TelescopePrompt",
      --                "Outline",
      --                "dapui_scopes",
      --                "dapui_breakpoints",
      --                "dapui_stacks",
      --                "dapui_watches",
      --                "dapui_repl",
      --                "dap_repl",
      --             },
      --             buftype = { "terminal" },
      --          },
      --       },
      --    },
      --    change_dir = {
      --       enable = true,
      --       global = false,
      --       restrict_above_cwd = false,
      --    },
      -- },
      view = {
         width = 30,
         hide_root_folder = false,