Blaž Hrastnik

Results 491 comments of Blaž Hrastnik

It should be possible if you export the same C ABI. I'd advise against it if possible though, because it imposes additional build dependencies when compiling the grammar.

@mkrasnitski Maybe you could pick up the PR and finish the implementation? @cormacrelf We've solved this for other grammars by using combined injections, @the-mikedavis explains it here https://github.com/helix-editor/helix/pull/4870#issue-1462503103

\cc @pascalkuthe Sorry for the delay on this PR, I've been hoping to find a way to do this without an additional wrapper type.

Oh, sorry but I completely missed this PR. I'm only merging small changes or bugfixes this close to release, but it'll definitely make it into the next cycle!

It probably fixed or improved viewing the file, but insert mode will still be just as slow on large files.

> The file I am editing is a 129MB mysql dump file with 150 very long lines. Yeah both of these are an issue. You're parsing a very large file...

You're also missing `ui.statusline.select`

Kakoune uses `z` but we have view mode there. https://github.com/mawww/kakoune/blob/master/doc/pages/keys.asciidoc#marks @oberblastmeister was interested in this, we discussed about storing these as ranges (outside registers) so we can map them through...

Yeah exactly, this was the intent :) It's similar to neovim's proposed `extmark` except we're using ranges. (Neovim had trouble keeping the marks if there was any edits, which eventually...

I imagine they'd be namespaced under and `id`. "user" vs "snippet" etc