japhib / pico8-ls

PICO-8 Language Server
MIT License
64 stars 8 forks source link

New conditional syntax IF ... DO ... END is marked as an error #57

Closed malmontagne closed 1 month ago

malmontagne commented 2 months ago

Since 0.2.6 we can write if statement like this

if a==2 do b=1 end in addition to more traditional if then

Doing so in VS Code with pico8-ls give some error "statement expected near do"

japhib commented 1 month ago

Completed with the referenced commit ^ in master. I'll update once it's been released.