Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

feat: Make inlay_hints priority configurable #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mosauter
Copy link

@mosauter mosauter commented Apr 6, 2023

I'm using gitsigns with the current_line_blame configuration enabled. This basically shows the last change on the current line as virtual text.

For rust I would like to see the inlay_hints first and the blame information second. By default gitsigns uses a priority of 100 (which I think is also the default in general, but couldn't find it in the docs).

This PR would make it possible to set the priority of the inlay_hints in the configuration of rust-tools.nvim and therefore create your own custom ordering (even if you have 15 more plugins for virtual text).

To my knowledge it doesn't change the default behaviour (which would put gitsigns blame in front)

MunifTanjim pushed a commit to MunifTanjim/rust-tools.nvim that referenced this pull request May 20, 2023
@MunifTanjim
Copy link

I've pulled this in https://github.com/MunifTanjim/rust-tools.nvim/tree/patched

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants