浏览代码

refactor: move to upstream lir (#3711)

* refactor: move to upstream lir

* chore: lint
opalmay 2 年之前
父节点
当前提交
f4ec3fc620
共有 3 个文件被更改,包括 6 次插入3 次删除
  1. 4 1
      lua/lvim/core/lir.lua
  2. 1 1
      lua/lvim/plugins.lua
  3. 1 1
      snapshots/default.json

+ 4 - 1
lua/lvim/core/lir.lua

@@ -19,7 +19,10 @@ M.config = function()
   lvim.builtin.lir = vim.tbl_extend("force", lvim.builtin.lir, {
     show_hidden_files = false,
     ignore = {}, -- { ".DS_Store" "node_modules" } etc.
-    devicons_enable = true,
+    devicons = {
+      enable = true,
+      highlight_dirname = true,
+    },
     mappings = {
       ["l"] = actions.edit,
       ["<CR>"] = actions.edit,

+ 1 - 1
lua/lvim/plugins.lua

@@ -125,7 +125,7 @@ local core_plugins = {
   },
   -- Lir
   {
-    "LunarVim/lir.nvim",
+    "tamago324/lir.nvim",
     config = function()
       require("lvim.core.lir").setup()
     end,

+ 1 - 1
snapshots/default.json

@@ -39,7 +39,7 @@
     "commit": "d211027"
   },
   "lir.nvim": {
-    "commit": "ae190c3"
+    "commit": "364277d"
   },
   "lualine.nvim": {
     "commit": "d8c392d"