George Harker

Results 64 comments of George Harker

Is it reasonable to assume the comment query is called comment? Or is there any other way to determine comment chars?

> Do you mean the capture? All comments will be under the `@comment` capture. There's some subtly here - there's two times an ```@indent.end``` might be found, on return as...

Come to think of it, because we would now capture ends on the actual line end, there's a few cases When typing ``` def foo() { ``` which will capture...

You're correct ``` def foo(): if True: return somecomplexfn(a,b,c, d,e,f) # return *cursor here ``` vs ``` def foo(): if True: return somecomplexfn(a,b,c, d,e,f) *cursor here ```

> * `indent.begin` is not exactly behaving like how the docs is mentioning it > > * Docs: Indent children of this node > * Reality: Indent lines after this...

> How do we define handlers for `is_in_err`? This one is tough - because the error state parse trees can be quite messy / not matching expectations.

I guess the most accurate statement of ```@indent.begin``` is ```@indent.begin``` the lines after the start line of the matched capture are indented This will be true through the entire matched...

Ah.... ok, I finally get it. There's a few possible modalities here either indents attach to nodes over their range. Or they attach at a start or end of a...

It’s probably a neovim issue but you can point your vimr at the command line version you’re using in advanced prefs to check if that’s the case.