-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic when Ctrl+n is pressed on LSP suggestions #1256
Comments
Looks like this was the offending change. This made it so that Also, since there aren't any checks performed on the returned values, if let Some((rel_width, rel_height)) = markdown_doc.required_size((width, height)) {
// no checks are made
width = rel_width;
height = rel_height;
} |
Ah right, I forgot the completion popups also use the markdown component. I expanded |
* allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master * fix(completion_popup): Fixes #1256 * Update helix-term/src/ui/completion.rs * feat(languages): Add support for `Dockerfile`s * docs(cargo-xtask-docgen): * improvement(langs-dockerfile): Add `injection-regex` to `languages.toml` for `Dockerfile` * improvement(langs-dockerfile): Add injections.scm * Update .gitmodules Co-authored-by: Blaž Hrastnik <[email protected]>
Hello,
I repeatedly get a panic when scrolling down the suggestions.
Backtrace:
The text was updated successfully, but these errors were encountered: