Explorar o código

refactor: dont override data

opalmay %!s(int64=2) %!d(string=hai) anos
pai
achega
55fc5dd6e1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lua/lvim/bootstrap.lua

+ 2 - 2
lua/lvim/bootstrap.lua

@@ -70,8 +70,8 @@ function M:init(base_dir)
       return _G.get_cache_dir()
     elseif what == "config" then
       return _G.get_config_dir()
-    elseif what == "data" then
-      return _G.get_runtime_dir()
+      -- elseif what == "data" then
+      --   return _G.get_runtime_dir()
     end
     return vim.call("stdpath", what)
   end