Skip to content

Commit

Permalink
fix: correct copy-pasta in config.indent validation
Browse files Browse the repository at this point in the history
Looks like we're passing in `char` when trying to validate `tab_char`.
  • Loading branch information
wincent authored Nov 11, 2024
1 parent e51b651 commit 35cbf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ibl/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ local validate_config = function(config)
if config.indent then
utils.validate_config({
char = { config.indent.char, { "string", "table" }, true },
tab_char = { config.indent.char, { "string", "table" }, true },
tab_char = { config.indent.tab_char, { "string", "table" }, true },
highlight = { config.indent.highlight, { "string", "table" }, true },
smart_indent_cap = { config.indent.smart_indent_cap, "boolean", true },
priority = { config.indent.priority, "number", true },
Expand Down

0 comments on commit 35cbf8d

Please sign in to comment.