Bugfix: Account for empty setup calls

This commit is contained in:
Harrison Cramer
2023-09-06 10:34:49 -04:00
parent 4792e03416
commit ad3203c214

View File

@@ -16,6 +16,7 @@ local revisions = state.dependencies.revisions
return { return {
setup = function(args) setup = function(args)
if args == nil then args = {} end
server.build() -- Builds the Go binary if it doesn't exist server.build() -- Builds the Go binary if it doesn't exist
state.setPluginConfiguration() -- Sets configuration from `.gitlab.nvim` file state.setPluginConfiguration() -- Sets configuration from `.gitlab.nvim` file
state.merge_settings(args) -- Sets keymaps and other settings from setup function state.merge_settings(args) -- Sets keymaps and other settings from setup function