Bret Beatty

Results 18 comments of Bret Beatty

I'd like to add on to this. It would be nice to get this working. When capturing under the cursor I get this. ![image](https://user-images.githubusercontent.com/61920876/168611432-3afa846b-2bea-4923-aae4-76cabfebfa8e.png) Seems like it's identified in the...

Oh, weird. I mean, I don't know where that `Syntax` section comes from but you'd think it'd be the same.

@akinsho Ah, that makes more sense.

@theHamsta So what can we do to get the format verb in the grammar file? I'm new to treesitter and would love to help, but would need a small push...

Thanks @theHamsta I'll give it a try

@theHamsta Been running into an error when trying to install. I just want to test that the following works ```javascript format_verb: $ => token.immediate(seq( '%', choice(/(?i)[a-z]/) )) ``` I just...

So what I did was clone the `tree-sitter-go` repository, and created a branch for myself. I made the change to that top level `grammar.js`file then tried running `:TSInstallFromGrammar` pointing to...

@theHamsta Ok, so I forked the repo and modified the `grammar.js` file https://github.com/bab014/tree-sitter-go/blob/format-verbs/grammar.js#L852. I built it with `npm run build` and tried parsing this file https://github.com/bab014/tree-sitter-go/blob/format-verbs/tests/main.go. It doesn't catch my...

@theHamsta you're looking at 'raw_string_literal' I'm using the normal string

@theHamsta So am I to understand there is no way of identifying format verbs for Go???