Преглед изворни кода

fix(nvimtree): escape the dot character in custom filter (#2493)

Pascal Hubrecht пре 3 година
родитељ
комит
75cfebbfee
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lua/lvim/core/nvimtree.lua

+ 1 - 1
lua/lvim/core/nvimtree.lua

@@ -68,7 +68,7 @@ function M.config()
       },
       filters = {
         dotfiles = false,
-        custom = { "node_modules", ".cache" },
+        custom = { "node_modules", "\\.cache" },
       },
       trash = {
         cmd = "trash",