Skip to content

Commit

Permalink
[fix] bug switching provider
Browse files Browse the repository at this point in the history
  • Loading branch information
frankroeder committed Jun 27, 2024
1 parent bf56e1b commit 6e6d9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/parrot/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ M.refresh_state = function()
end

M._state.provider = M._state.provider or state.provider or nil
if M._state.provider == nil or M._available_providers[M._state.provider] == nil then
if M._state.provider == nil then
M._state.provider = M._available_providers[1]
end

Expand Down

0 comments on commit 6e6d9c3

Please sign in to comment.