Stephan Seitz
Stephan Seitz
This is the documentation for the callback function for the prompt buffer ``` prompt_setcallback({buf}, {expr}) *prompt_setcallback()* Set prompt callback for buffer {buf} to {expr}. When {expr} is an empty string...
~~Ok, clearing the the prompt buffer line on `InsertLeave` also works.~~
Probably, one needs to make the REPL readonly while a command is executing. The prompt buffer is apparently meant to only return complete lines at output while vlime can also...
Maybe, that users can just a provide a function that resolves `TestNearest` for current buffer.
Did you try the newest nightly? A fix for this problem has landed in tree-sitter. You can also build 0.6 release with newest tree-sitter master.
It had to be tree-sitter master as the fix is not yet in a release.
Tree-sitter allows to skip certain ranges during parsing (`set_included_ranges`). This would require some kind of pre-scanning of the text and everything time a range has changed.
It is a short-coming that we can only select nodes at the moment. We wanted to trim the braces using a regex directive and use that solution also for language...
`daf` should really only delete the actual function. To delete line-wise you can use `dVaf`. Maybe one could have an option for users to make certain mappings automaticly line-wise.
Would be ok. If possible all "{" should be patched