Skip to content
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

Loading error when opening large files #295

Closed
0xAndoroid opened this issue Mar 16, 2024 · 1 comment
Closed

Loading error when opening large files #295

0xAndoroid opened this issue Mar 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@0xAndoroid
Copy link

Neovim version (nvim -v)

v0.10.0-dev-2601+gb7779c514-Homebrew

Operating system/version

macOS 14.2.1

Output of :checkhealth rustaceanvim

==============================================================================
rustaceanvim: require("rustaceanvim.health").check()

Checking for Lua dependencies ~
- OK [mfussenegger/nvim-dap](https://github.com/mfussenegger/nvim-dap) installed.

Checking external dependencies ~
- OK rust-analyzer: found rust-analyzer 1.76.0 (07dca489 2024-02-04)
- OK Cargo: found cargo 1.76.0 (c84b36747 2024-01-18)
- OK rustc: found rustc 1.76.0 (07dca489a 2024-02-04)
- OK debug adapter: found codelldb 

Checking config ~
- OK No errors found in config.

Checking for conflicting plugins ~
- OK No conflicting plugins detected.

Checking for tree-sitter parser ~
- OK tree-sitter parser for Rust detected.

How to reproduce the issue

1. Install rustaceanvim
2. Open large file (>2000 lines) right after launching nvim

Expected behaviour

No errors should appear

Actual behaviour

Screenshot 2024-03-16 at 11 14 36

The minimal config used to reproduce this issue.

https://github.com/AstroNvim/astrocommunity/blob/dd78f631dae0d444b3cef6f657b0d00c166ba8e5/lua/astrocommunity/pack/rust/init.lua#L66
@0xAndoroid 0xAndoroid added the bug Something isn't working label Mar 16, 2024
@mrcjkb
Copy link
Owner

mrcjkb commented Mar 17, 2024

Hey 👋

Thanks for reporting. This is a duplicate of #219.

But I'll leave this open and see if I can make it fail silently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants