Skip to content

Commit

Permalink
fix(commands): completion for hover actions suggesting "action"
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Nov 21, 2023
1 parent 540ff82 commit 28b7390
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Completion for `:RustLsp hover actions` command suggesting `action`.

## [3.6.4] - 2023-11-19

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lua/rustaceanvim/commands/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function M.create_rust_lsp_command()
return { 'last' }
end
if cmdline:match(match_start .. ' hover%s+%w*$') then
return { 'action', 'range' }
return { 'actions', 'range' }
end
if cmdline:match(match_start .. ' moveItem%s+%w*$') then
return { 'up', 'down' }
Expand Down

0 comments on commit 28b7390

Please sign in to comment.