echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.47k stars 175 forks source link

mini.align does not take inlay hint into account. #895

Closed gh-liu closed 1 month ago

gh-liu commented 1 month ago

Contributing guidelines

Module(s)

mini.align

Description

enable lsp inlayhint: image

disable lsp inlayhint: image

align with ///

Neovim version

0.10

Steps to reproduce

sorry, I have not try with a minimal config.

Expected behavior

No response

Actual behavior

Maybe should take inlay hint into account.

echasnovski commented 1 month ago

Thanks for the suggestion!

Alignment is reasonable to do only based on the actually present text and not account for any inline virtual text.

Closing as not planned.