Skip to content

Commit

Permalink
fix: don't show error if config is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
famiu committed Oct 6, 2021
1 parent 5cf00b5 commit 4cc503a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/feline/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ local M = {}
-- Parse configuration option with name config_name from config_dict and match its type
-- Return a default value (if provided one) in case the configuration option doesn't exist
local function parse_config(config_dict, defaults)
if not config_dict then config_dict = {} end

local parsed_config = {}

-- Iterate through every possible configuration options, also checking their type to ensure the
Expand Down

0 comments on commit 4cc503a

Please sign in to comment.