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

neovim 0.10.3 on Darwin freezes #368247

Closed
DYnamoX513 opened this issue Dec 26, 2024 · 2 comments
Closed

neovim 0.10.3 on Darwin freezes #368247

DYnamoX513 opened this issue Dec 26, 2024 · 2 comments
Labels
0.kind: bug Something is broken

Comments

@DYnamoX513
Copy link

Describe the bug

Editing a cpp file using the same Neovim configuration:

  1. nixpkgs-unstable.neovim-unwrapped freezes
  2. Neovim installed by Homebrew works well
  3. Neovim from the original repo works well

Steps To Reproduce

  1. nix-shell -p neovim
  2. Create a new .cpp file with the following contents
#include <cstdint>

///\brief Category token.
/// Do not change the enum value, as some old codes use </==/!=/> for comparison (needed_by_csc)
enum class Category : std::uint8_t {
    STOCK = 0,
};
  1. Deleting two / before "Do not change ... "
  2. Neovim stuck

Additional context

No LSP enabled.

Metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.2.0, macOS 15.2
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.24.11
  • nixpkgs: /nix/store/73cnf2k7mji95fcflvay15pdw4skhhk5-source

Screen recording

The left pane is nvim and the right one is /opt/homebrew/bin/nvim

Recording.at.2024-12-26.11.43.55.mp4
@DYnamoX513 DYnamoX513 added the 0.kind: bug Something is broken label Dec 26, 2024
@traxys
Copy link
Contributor

traxys commented Dec 28, 2024

I believe this is linked to those issues:

It seems to be a bug in tree-sitter 0.24.4, that is fixed in 0.24.5

@fpletz
Copy link
Member

fpletz commented Dec 29, 2024

Fixed by #368952.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants