summaryrefslogtreecommitdiff
path: root/utils/ci/verify_plugins.lua
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2022-09-20 14:11:58 +0430
committerGitHub <[email protected]>2022-09-20 14:11:58 +0430
commit518b1d4167162a54a6e76784038d30191613b76d (patch)
tree6007451a5e1f77db9ee116ee1a262c8f0639115d /utils/ci/verify_plugins.lua
parent03ec31253fc868b3ab5a8217640ec04248ae0046 (diff)
Fix: make sure latest plugins are customizable (#3044)
* fix: make navim-navic configurable * fix: make sure vim-illuminate is configurable * fix: make sure theme is configurable * fix(ci): don't verify uninstalled plugins * refactor(lsp): add setup_document_symbols util * revert: keep onedarker on freeze branch * refactor(lsp): avoid duplicate hl autocmds Co-authored-by: kylo252 <[email protected]>
Diffstat (limited to 'utils/ci/verify_plugins.lua')
-rw-r--r--utils/ci/verify_plugins.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/ci/verify_plugins.lua b/utils/ci/verify_plugins.lua
index 3cc5dd82..cecb01db 100644
--- a/utils/ci/verify_plugins.lua
+++ b/utils/ci/verify_plugins.lua
@@ -33,8 +33,7 @@ end
local get_install_path = function(spec)
local prefix = is_optional(spec) and packer_config.opt_dir or packer_config.start_dir
local path = join_paths(prefix, get_short_name(spec))
- assert(is_directory(path))
- return path
+ return is_directory(path) and path
end
local function call_proc(process, opts, cb)
@@ -92,11 +91,12 @@ end
local function verify_core_plugins(verbose)
for _, spec in pairs(core_plugins) do
- if not spec.disable then
+ local path = get_install_path(spec)
+ if not spec.disable and path then
table.insert(collection, {
name = get_short_name(spec),
commit = get_default_sha1(spec),
- path = get_install_path(spec),
+ path = path,
})
end
end