From 518b1d4167162a54a6e76784038d30191613b76d Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Tue, 20 Sep 2022 14:11:58 +0430 Subject: 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 <59826753+kylo252@users.noreply.github.com> --- utils/ci/verify_plugins.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils/ci/verify_plugins.lua') 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 -- cgit v1.2.3