Kirawi
Kirawi
Should this be a core feature of Helix or be implemented as a plugin?
There was also a discussion on this a while ago: https://matrix.to/#/!zMuVRxoqjyxyjSEBXc:matrix.org/$_yZ9RkhI4rNEbJxsdZ9WhYTNvPiCdsUqts-rQb5yEkQ?via=matrix.org&via=tchncs.de&via=mozilla.org
There is https://github.com/helix-editor/helix/pull/4363
You could take a look at https://github.com/helix-editor/helix/blob/65edf9c19880fe4fd068db6d86c4c2830c8a91f6/helix-term/src/ui/editor.rs#L710-L826
As mentioned in Matrix, adding a `root-override` field to the `languages.toml` could be a solution.
The file picker preview is a new addition, and for now it doesn't do highlighting on other files for[ performance reasons](https://github.com/helix-editor/helix/pull/534#discussion_r680375293), I believe.
It might need a `view.ensure_cursor_in_view(doc, scrolloff);`
(ignore)
I don't think the LSP protocol defines this, so it would probably have to be implemented by a plugin. Edit; Never mind, seems to have been recently added.
Can you run `cargo xtask docgen` and commit the changes? ```diff @@ -49,6 +49,7 @@ | graphql | ✓ | | | | | hare | ✓ | | |...