-
-
Notifications
You must be signed in to change notification settings - Fork 372
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Plugin
treesitter-textobjects
Nixpkgs Release
other
Home Manager Release
other
I have read the FAQ
- I have read the FAQ and my bug is not listed there.
Description
Hello,
Since migrating from 25.05 to the 25.11 release, treesitter-textobjects.settings.keymaps has not been taking effect. I previously used keybinds like daf to delete @function.outer, cic for change @class.inner, etc but these are no longer applying. Notably, keybinds for settings.move and settings.swap still apply. This applies for multiple languages (Rust & Nix tested).
I have provided a minimal example, but you can also run my standalone Nixvim configuration before and after regression, should you like. Both versions fall within 800-900 MiB.
- 25.05
nix run sourcehut:~malicean/malvim/e54632c4192576d0e6d5c02d9d2b6620e3f68aa4#lite- Relevant configuration
- 25.11
nix run sourcehut:~malicean/malvim/2f2f6c965b327929befb33e2d4ac055a5fcb483f#lite- Relevant configuration
Then to observe the regression with the configurations:
- Run one configuration
- Open a new buffer:
:enew - Set lang to Nix:
:setf nix - Write a simple function:
x: x + 1 - Observe the presence of
cif(change inner function) and other textobject keybinds in 25.05 version, but their absence in the 25.11 version
Minimal, Reproducible Example (MRE)
plugins.treesitter-textobjects = {
enable = true;
settings = {
enable = true;
keymaps = {
"if" = "@function.inner";
};
};
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working