Refactor symbol types

This commit is contained in:
hedy
2023-11-26 16:49:25 +08:00
parent 5764294eb7
commit 5b70292780
10 changed files with 66 additions and 68 deletions

View File

@@ -1,5 +1,3 @@
local cfg = require('outline.config')
local M = {}
local import_prefix = 'outline/providers/'
@@ -8,7 +6,7 @@ function M.find_provider()
if not M.providers then
M.providers = vim.tbl_map(function(p)
return import_prefix .. p
end, cfg.get_providers())
end, require('outline.config').get_providers())
end
for _, path in ipairs(M.providers) do
local provider = require(path)