Browse Source

fix(windows): remove redundant `resolve` call (#1974)

kylo252 3 năm trước cách đây
mục cha
commit
5663c925eb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lua/lvim/core/autocmds.lua

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

@@ -7,7 +7,7 @@ function M.load_augroups()
 
   if vim.loop.os_uname().version:match "Windows" then
     -- autocmds require forward slashes even on windows
-    user_config_file = vim.fn.resolve(user_config_file:gsub("\\", "/"))
+    user_config_file = user_config_file:gsub("\\", "/")
   end
 
   return {