gbaptista / sublime-text-fennel

Fennel Language Support for Sublime Text 3 & 4
https://packagecontrol.io/packages/Fennel
MIT License
15 stars 2 forks source link

Inline Table Destructuring Breaks Highlighting in local Form #9

Open turbo opened 2 years ago

turbo commented 2 years ago

The following snippets are equivalent code, but sample C is only partially highlighted

; sample A, correct
(local b (require :b))
(local { : a } b)

; sample B, correct
(let [{ : a } (require :b)])

; sample C, incorrect
(local { : a } (require :b))

produces:

image