Skip to content

Commit

Permalink
fix opts
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Badragan committed Apr 29, 2024
1 parent cd4b365 commit 12c327e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/grug-far.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function M.setup(options)
-- avoid setting global values outside of this function. Global state
-- mutations are hard to debug and test, so having them in a single
-- function/module makes it easier to reason about all possible changes
M.options = with_defaults(options)
M.options = with_defaults(options or {})

-- do here any startup your plugin needs, like creating commands and
-- mappings that depend on values passed in options
Expand Down

0 comments on commit 12c327e

Please sign in to comment.