Skip to content

Commit

Permalink
refactor(configs)!: set default filter to 'primary' for simplicity (#237
Browse files Browse the repository at this point in the history
)
  • Loading branch information
linrongbin16 authored Jun 4, 2024
1 parent c614017 commit a93736b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lua/colorbox/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ local Defaults = {
---
--- @alias colorbox.FilterConfig colorbox.BuiltinFilterConfig|colorbox.FunctionFilterConfig|colorbox.AllFilterConfig
--- @type colorbox.FilterConfig?
filter = {
"primary",
function(color, spec)
return spec.github_stars >= 800
end,
},
filter = "primary",

--- @type table<string, function>
setup = {},
Expand Down

0 comments on commit a93736b

Please sign in to comment.