Closed GrayJack closed 5 years ago
Relevant file is https://github.com/Razzeee/tree-sitter-elm/blob/master/src/scanner.cc
Can you please post the complete example code? I can look at it on monday
Sure, you can find it here: https://github.com/GrayJack/language-elm-treesitter/blob/master/grammars/tree-sitter-elm.cson#L32
https://github.com/Razzeee/tree-sitter-elm/pull/25 should fix this. It might also affect the negate_expr
.
I think I never saw a negate expression, can you give me a example?
Well it's at least what we parse it as :)
Seems like it didn't fix, in my repo, I did use the new branch and still nothing
Did you actually rebuild it, via npm run build
? I'm very confident, that the error you mentioned is fixed by this :)
Maybe I did forget, will double check as soon as I can, sorry for the trouble
Looks like the problem is that apm have to run that, but atom actually expects to be already done. Can you help me out with this? Kinda lost, not very used with JS stuff, how ca I make my atom package run that before installing?
Should I just publish it on npm? Would that help?
On Tue, Oct 15, 2019, 01:33 Eric Shimizu Karbstein notifications@github.com wrote:
Looks like the problem is that apm have to run that, but atom actually expects to be already done. Can you help me out with this? Kinda lost, not very used with JS stuff, how ca I make my atom package run that before installing?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Razzeee/tree-sitter-elm/issues/24?email_source=notifications&email_token=ABNLEZE45JQA6QMWLYSK5RDQOT6TFA5CNFSM4I74AAK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBG5Y3I#issuecomment-541973613, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNLEZFBM24IY35FZW7I5CTQOT6TFANCNFSM4I74AAKQ .
I think it would
Pushed a new release to npm and new release builds should shortly show up on github. Please let me know if it solved it :)
Worked just fine now, thanks!!!
I'm creating a elm atom package using your library and a strange thing happened
I map
line_comments
as comments in the css class in atom, and this happensNot sure why, since I could not find the source of
externals
in the source code