Skip to content

Commit

Permalink
fix(sass): invalid buffer options (#143)
Browse files Browse the repository at this point in the history
There's no `options` property in `state[bufnr]` as seen in `update_variables` function:
https://github.com/catgoose/nvim-colorizer.lua/blob/2933cb5b547b8a2dba20e8087d488462ad5bc6bc/lua/colorizer/sass.lua#L270
  • Loading branch information
impankratov authored Jan 29, 2025
1 parent 2933cb5 commit 19bd49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/colorizer/sass.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ local function sass_parse_lines(bufnr, line_start, content, name)

require("colorizer").rehighlight(
bufnr,
state[bufnr].options,
state[bufnr].ud_opts,
state[bufnr].local_options,
{ use_local_lines = true }
)
Expand Down

0 comments on commit 19bd49d

Please sign in to comment.