Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
feat: properly configure runtime.path to make require work for plugin…
Browse files Browse the repository at this point in the history
…s (slow). Fixes #23
  • Loading branch information
folke committed Aug 30, 2021
1 parent e958850 commit 274f72b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/lua-dev/sumneko.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ function M.path()
local path = {} --vim.split(package.path, ";")
table.insert(path, "lua/?.lua")
table.insert(path, "lua/?/init.lua")
-- for lib, _ in pairs(M.library()) do
-- table.insert(path, lib .. "/?.lua")
-- table.insert(path, lib .. "/?/init.lua")
-- end
for lib, _ in pairs(M.library()) do
table.insert(path, lib .. "/?.lua")
table.insert(path, lib .. "/?/init.lua")
end
return path
end

Expand Down

0 comments on commit 274f72b

Please sign in to comment.