Skip to content

Commit 19bd49d

Browse files
authored
fix(sass): invalid buffer options (#143)
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
1 parent 2933cb5 commit 19bd49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/colorizer/sass.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ local function sass_parse_lines(bufnr, line_start, content, name)
209209

210210
require("colorizer").rehighlight(
211211
bufnr,
212-
state[bufnr].options,
212+
state[bufnr].ud_opts,
213213
state[bufnr].local_options,
214214
{ use_local_lines = true }
215215
)

0 commit comments

Comments
 (0)