refactor: simplify plugin loader
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user