mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
fix: make sure Plugin.opt is always a boolean
This commit is contained in:
parent
812bb3c8b7
commit
ca78dd77ac
2 changed files with 2 additions and 1 deletions
|
@ -212,6 +212,7 @@ function M.update_state(opts)
|
|||
or plugin.keys
|
||||
or plugin.ft
|
||||
or plugin.cmd
|
||||
plugin.opt = plugin.opt and true or false
|
||||
end
|
||||
local opt = plugin.opt and "opt" or "start"
|
||||
plugin.dir = Config.options.packpath .. "/" .. opt .. "/" .. plugin.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue