Skip to content

fix(operators): remove new default grx LSP mapping#2324

Merged
echasnovski merged 1 commit intonvim-mini:mainfrom
abeldekat:test_operators_nightly_new_gr_mapping
Mar 20, 2026
Merged

fix(operators): remove new default grx LSP mapping#2324
echasnovski merged 1 commit intonvim-mini:mainfrom
abeldekat:test_operators_nightly_new_gr_mapping

Conversation

@abeldekat
Copy link
Member

Details

  • New builtin lsp mapping "grx" executes vim.lsp.codelens.run()

    See PR 37689 in neovim/neovim

    This causes test 'Replace works with cmdheight=0' to fail:

    Can not use child.get_screenshot because child process is blocked.

    In mini.operators, default gr* LSP mappings are removed

  • I have read CONTRIBUTING.md

  • I have read CODE_OF_CONDUCT.md

@abeldekat abeldekat force-pushed the test_operators_nightly_new_gr_mapping branch from cbe880b to f1d4d5e Compare March 20, 2026 13:53
@abeldekat abeldekat requested a review from echasnovski March 20, 2026 13:54
@abeldekat abeldekat force-pushed the test_operators_nightly_new_gr_mapping branch from f1d4d5e to 830d8f1 Compare March 20, 2026 14:00
@abeldekat abeldekat changed the title test(operators): a new builtin lsp mapping was added to Nightly fix(operators): remove new default grx LSP mapping Mar 20, 2026
@abeldekat
Copy link
Member Author

Shall I add the new mapping to MiniMax as <leader>lx?

@echasnovski
Copy link
Member

Thanks for the PR!

Could you please more closely follow the 6a6a37e? I.e. almost the same set of changes and the almost the same commit message.


Shall I add the new mapping to MiniMax as <leader>lx?

This is a bit early for MiniMax. Let's wait until the Neovim 0.12 release.

Besides, I am not sure that <Leader>lx is a good LHS. I would expect something like <Leader>lc (Codelens) or <Leader>ll (Lens; similar to how <Leader>la is "Actions").

Details:
- Its presence conflicts with `gr` mapping.
@abeldekat abeldekat force-pushed the test_operators_nightly_new_gr_mapping branch from 830d8f1 to 0f0937e Compare March 20, 2026 16:14
@abeldekat
Copy link
Member Author

Could you please more closely follow the 6a6a37e? I.e. almost the same set of changes and the almost the same commit message.

Done

Copy link
Member

@echasnovski echasnovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks better now.

@echasnovski echasnovski merged commit 59f0994 into nvim-mini:main Mar 20, 2026
12 checks passed
@abeldekat abeldekat deleted the test_operators_nightly_new_gr_mapping branch March 20, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants