Explorar o código

fix(lsp): add luv library by default to lua_ls

this will stop the server from prompting the user about updating the work environment
kylo252 %!s(int64=2) %!d(string=hai) anos
pai
achega
f74046d191
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lua/lvim/lsp/providers/lua_ls.lua

+ 1 - 0
lua/lvim/lsp/providers/lua_ls.lua

@@ -5,6 +5,7 @@ local default_workspace = {
     require("neodev.config").types(),
     "${3rd}/busted/library",
     "${3rd}/luassert/library",
+    "${3rd}/luv/library",
   },
 
   maxPreload = 5000,