Skip to content

Commit

Permalink
perf(provider decorators): add stdpath('config') to runtime path (#468
Browse files Browse the repository at this point in the history
)
  • Loading branch information
linrongbin16 authored Dec 7, 2023
1 parent 482dfcd commit e17f835
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/general/provider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ shell_helpers.log_debug("metaopt:[%s]", vim.inspect(metaopts))

-- decorator

vim.opt.runtimepath:append(vim.fn.stdpath("config"))

--- @type {decorate:fun(line:string):string}
local decorator_module = nil
if metaopts.provider_decorator ~= nil then
Expand Down

0 comments on commit e17f835

Please sign in to comment.