Skip to content

Commit

Permalink
fix lookback position limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Orzechowski committed Jun 13, 2024
1 parent 5fba20a commit 493340a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-in-js-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Returns a cons cell (start . end) of buffer locations."
(let ((property
(and (looking-back
"\\([[:alnum:]-]+\\):.*"
(car (css-in-js-mode--current-region))
(min (point) (car (css-in-js-mode--current-region)))
t)
(member (match-string-no-properties 1)
css-property-ids))))
Expand Down

0 comments on commit 493340a

Please sign in to comment.