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
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1697887905 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info
Operating system/version
Linux arch 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64 GNU/Linux
Output of :checkhealth rustaceanvim
rustaceanvim: require("rustaceanvim.health").check() Checking for Lua dependencies ~ - OK mfussenegger/nvim-dap installed. Checking external dependencies ~ - OK rust-analyzer: found rust-analyzer 0.3.1722-standalone - OK Cargo: found cargo 1.73.0 (9c4383fb5 2023-08-26) - OK rustc: found rustc 1.73.0 (cc66ad468 2023-10-03) - OK lldb: found lldb version 16.0.6 Checking config ~ - OK vim.g.rustaceanvim is not set - OK No errors found in config. Checking for conflicting plugins ~ - OK No conflicting plugins detected.
How to reproduce the issue
Enter command mode and type TAB after any Rust command followed by a space.
Example: :RustAnalyzer[space][TAB]
Expected behaviour
I would expect to see a list of available options to run the command. In the example of RustAnalyzer, they should be start and stop
Actual behaviour
I get the attached error whenever hitting the TAB key.
Manually typing the command option switch (i.e. start or stop) works fine.
The same happens with any of the RustLsp command switches.
Pressing TAB with other plugins in command mode, seems to work fine (see attached example for Trouble auto completion)
Sorry if this is an issue from my side/config. I'm just trying to move from rust-tools to your new plugin for which you deserve a big thank you!
Thanks for reporting this.
I use vim.iter in the code for tab completion, which appears to have been added in Neovim nightly.
I'll look into fixing that 😄
mrcjkb
changed the title
Pressing TAB after Rust* command does not provide available options and errors out
Command completion broken in Neovim 0.9
Nov 10, 2023
Neovim version (nvim -v)
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1697887905 system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info
Operating system/version
Linux arch 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64 GNU/Linux
Output of
:checkhealth rustaceanvim
rustaceanvim: require("rustaceanvim.health").check() Checking for Lua dependencies ~ - OK mfussenegger/nvim-dap installed. Checking external dependencies ~ - OK rust-analyzer: found rust-analyzer 0.3.1722-standalone - OK Cargo: found cargo 1.73.0 (9c4383fb5 2023-08-26) - OK rustc: found rustc 1.73.0 (cc66ad468 2023-10-03) - OK lldb: found lldb version 16.0.6 Checking config ~ - OK vim.g.rustaceanvim is not set - OK No errors found in config. Checking for conflicting plugins ~ - OK No conflicting plugins detected.
How to reproduce the issue
Enter command mode and type
TAB
after any Rust command followed by a space.Example:
:RustAnalyzer[space][TAB]
Expected behaviour
I would expect to see a list of available options to run the command. In the example of
RustAnalyzer
, they should bestart
andstop
Actual behaviour
I get the attached error whenever hitting the
TAB
key.Manually typing the command option switch (i.e.
start
orstop
) works fine.The same happens with any of the
RustLsp
command switches.Pressing
TAB
with other plugins in command mode, seems to work fine (see attached example forTrouble
auto completion)Sorry if this is an issue from my side/config. I'm just trying to move from
rust-tools
to your new plugin for which you deserve a big thank you!The minimal config used to reproduce this issue.
plugins.lua
mappings.lua
The text was updated successfully, but these errors were encountered: