Olical / aniseed

Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
https://discord.gg/wXAMr8F
The Unlicense
610 stars 28 forks source link

fennel keyword syntax issue #136

Open randomizedthinking opened 1 year ago

randomizedthinking commented 1 year ago

Here is a fennel keyword syntax issue: the keyword syntax does not recognize numbers 0-8, but 9 is treated as a valid keyword char.

Please see the screenshot below.

image

Olical commented 1 year ago

Hmm I can't reproduce this with tree sitter at least. This will be an issue in https://github.com/Olical/aniseed/blob/master/syntax/fennel.vim which is actually just a lightly modified version of https://github.com/bakpakin/fennel.vim

I don't see any obvious issues in there, all of the regular expressions include 0-9 so I think it'll be quite a subtle bug. I wonder if there's any other ways to reproduce this bug, like is it just to do with 0-9 or is it more specific.