Stephan Seitz

Results 521 comments of Stephan Seitz

`offset!` directive is just a hack to make it work with injections and only with one capture. It would be better to implement offset in a proper way. E.g. to...

My original idea was to dim non-current-scope text a bit, at least this should be possible now.

At the moment the updates rely on a tree-sitter highlighter to be active (typically by an active `highlight` module). Can you check whether you have tree-sitter highlighting enabled?

`vim.treesitter.highlighter` is implemented in core. The parser will not re-parse by it self. Only when told to do so. TSHighlighter uses `nvim_set_decoration_provider` to re-parse on buffer redraw. https://github.com/theHamsta/neovim/blob/10b273a9ebdfb5fe93b601a90b27a1bcaa2a507c/runtime/lua/vim/treesitter/highlighter.lua#L285-L304 You could...

This is a bug of nvim-treesitter/playground. It should request a redraw when it does an update.

Yes, a Lisp parser would be really cool. There is one for clojure that could be adapted for Lisp: https://github.com/sogaiu/tree-sitter-clojure. I always wanted to implement it but never found the...

And it's only nvim nightly. This is why I was a bit surprised when you cited it. But it would be possible to use it for some functionality if it's...

I'll have a look into this and experiment a bit more with it. As I said, I have no experience with writing vim script or how this plugin works. So...

Ok. I guess I fixed some of the problems: - `si` now directly enters REPL in insert mode - vim does not longer complain that REPL buffer is not saved...

From the docs: ``` Only the text in the last line, after the prompt, is editable. The rest of the buffer is not modifiable with Normal mode commands. It can...