Skip to content

Commit

Permalink
fix(neovide): neovide is not set up correctly because of ipairs (ay…
Browse files Browse the repository at this point in the history
…amir#1052)

since the numeric keys are ignored as whole in `iparis` iteration, configurations in
`neovide_config` actually aren't set to neovide, after switching `ipairs` to `pairs`,
configurations are set properly.
  • Loading branch information
csyJoy authored and Vincent Wang committed Nov 3, 2023
1 parent 85133b4 commit d0fdec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ local gui_config = function()
end

local neovide_config = function()
for name, config in ipairs(settings.neovide_config) do
for name, config in pairs(settings.neovide_config) do
vim.g["neovide_" .. name] = config
end
end
Expand Down

0 comments on commit d0fdec7

Please sign in to comment.