Skip to content

Commit

Permalink
fix: renames calls to config module (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
catgoose authored Dec 25, 2024
1 parent cbbd548 commit c36f673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/colorizer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function M.attach_to_buffer(bufnr, options, bo_type)
-- cached buffer options
or get_attached_buffer_options(bufnr)
-- new buffer options
or config.new_options(bufnr, bo_type)
or config.new_bo_options(bufnr, bo_type)
options = config.apply_alias_options(options)

-- TODO: 2024-11-26 - This seems to be validated in config.validate_opts
Expand Down Expand Up @@ -469,7 +469,7 @@ function M.setup(opts)
return
end
-- get cached options
local options = config.get_options(bo_type, buftype, filetype)
local options = config.get_bo_options(bo_type, buftype, filetype)
if not options and not s.all[bo_type] then
return
end
Expand Down

0 comments on commit c36f673

Please sign in to comment.