You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I use dia or daa (my configured commands to delete inner parameter and outer parameter respectively), after undoing those commands with u, I cannot use ia or aa to select parameter in the current buffer anymore. I have to open a new buffer for them to work again.
To Reproduce
Steps to reproduce the behavior:
Open a csharp file with configured treesitter and treesitter textobjects.
Trigger command to delete inner or outer parameter using @parameter text object.
Press u to undo the change.
Try to select another parameter, it will not work.
Expected behavior @parameter TextObject should work regardless of whether or not I press u.
Output of :checkhealth nvim-treesitter
Installation ~
WARNING tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
OK node found v18.18.0 (only needed for :TSInstallFromGrammar)
OK git executable found.
OK cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.
OS Info:
{
machine = "x86_64",
release = "5.15.90.1-microsoft-standard-WSL2",
sysname = "Linux",
version = "#1 SMP Fri Jan 27 02:56:13 UTC 2023"
} ~
Parser/Features H L F I J
c ✓ ✓ ✓ ✓ ✓
c_sharp ✓ ✓ ✓ . ✓
cpp ✓ ✓ ✓ ✓ ✓
go ✓ ✓ ✓ ✓ ✓
javascript ✓ ✓ ✓ ✓ ✓
lua ✓ ✓ ✓ ✓ ✓
luadoc ✓ . . . .
luap ✓ . . . .
markdown ✓ . ✓ ✓ ✓
python ✓ ✓ ✓ ✓ ✓
rust ✓ ✓ ✓ ✓ ✓
tsx ✓ ✓ ✓ ✓ ✓
typescript ✓ ✓ ✓ ✓ ✓
vim ✓ ✓ ✓ . ✓
vimdoc ✓ . . . ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang} ~
Output of nvim --version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more info
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I use
dia
ordaa
(my configured commands to delete inner parameter and outer parameter respectively), after undoing those commands withu
, I cannot useia
oraa
to select parameter in the current buffer anymore. I have to open a new buffer for them to work again.To Reproduce
Steps to reproduce the behavior:
u
to undo the change.Expected behavior
@parameter TextObject should work regardless of whether or not I press
u
.Output of
:checkhealth nvim-treesitter
Installation ~
tree-sitter
executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)node
found v18.18.0 (only needed for :TSInstallFromGrammar)git
executable found.cc
executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }Version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
OS Info:
{
machine = "x86_64",
release = "5.15.90.1-microsoft-standard-WSL2",
sysname = "Linux",
version = "#1 SMP Fri Jan 27 02:56:13 UTC 2023"
} ~
Parser/Features H L F I J
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang} ~
Output of
nvim --version
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: