We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
changing the language of a "scratch" buffer causes helix to panic
hx :lang python
every language I've tried this with does the same, as does creating a new scratch buffer via the "Create a new scratch buffer" command.
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', helix-view/src/editor.rs:479:31 stack backtrace: 0: rust_begin_unwind at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5 1: core::panicking::panic_fmt at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14 2: core::panicking::panic at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:48:5 3: helix_view::editor::Editor::launch_language_server 4: helix_term::commands::typed::language 5: helix_term::commands::typed::command_mode::{{closure}} 6: <helix_term::ui::prompt::Prompt as helix_term::compositor::Component>::handle_event 7: helix_term::compositor::Compositor::handle_event 8: helix_term::application::Application::handle_terminal_events 9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll 10: tokio::park::thread::CachedParkThread::block_on 11: tokio::runtime::thread_pool::ThreadPool::block_on 12: tokio::runtime::Runtime::block_on 13: hx::main
linux
foot
22.05-dev (b03421a)
The text was updated successfully, but these errors were encountered:
Duplicate of #1994.
Sorry, something went wrong.
No branches or pull requests
Summary
changing the language of a "scratch" buffer causes helix to panic
Reproduction Steps
every language I've tried this with does the same, as does creating a new scratch buffer via the "Create a new scratch buffer" command.
Helix log
backtrace
Platform
linux
Terminal Emulator
foot
Helix Version
22.05-dev (b03421a)
The text was updated successfully, but these errors were encountered: