Skip to content

Commit

Permalink
Merge pull request #32 from dsully/patch-1
Browse files Browse the repository at this point in the history
Allow calling .setup() without an empty map.
  • Loading branch information
cmgriffing authored Jun 26, 2022
2 parents ed33933 + 39fc262 commit 75f5e45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/nvim-biscuits/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ nvim_biscuits.decorate_nodes = function(bufnr, lang)
end

nvim_biscuits.setup = function(user_config)
if user_config == nil then
user_config = {}
end

final_config = utils.merge_tables(final_config, user_config)

if user_config.default_config then
Expand Down

0 comments on commit 75f5e45

Please sign in to comment.