refactor: simplify plugin loader

This commit is contained in:
2026-04-11 22:55:51 +02:00
parent eb96536a8f
commit ec81afbab7
5 changed files with 82 additions and 117 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
local lsp = require("lsp")
local lua_library_paths = require("plugin").get_paths()
table.insert(lua_library_paths, vim.env.VIMRUNTIME)
local lua_library_paths = { vim.env.VIMRUNTIME }
vim.list_extend(lua_library_paths, require("pack").paths)
---@type vim.lsp.Config
return {