mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:37:34 +00:00
Make linter happy
This commit is contained in:
parent
06b29db645
commit
5b56491ea7
@ -95,7 +95,7 @@ end
|
||||
|
||||
-- Returns whether or not packer plugin is loaded
|
||||
function M.is_plugin_loaded(name)
|
||||
return _G["packer_plugins"] and packer_plugins[name] and packer_plugins[name].loaded
|
||||
return _G["packer_plugins"] and _G["packer_plugins"][name] and _G["packer_plugins"][name].loaded
|
||||
end
|
||||
|
||||
-- Try to require something and perform some action if it was found
|
||||
|
Loading…
Reference in New Issue
Block a user