-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inlay hints: display outside of label argument? #890
Comments
No, not really. It was a tiny bit easier to implement. It only really matters if you have multiple references in one command (like
The visuals probably depend a lot on the client, here is how it looks on VSCode: |
Ah, I see; if the label has background color, you'd want the spaces to be symmetrical. Either one or two spaces is fine with me. |
## [5.7.0] - 2023-06-07 ### Added - Add symbol support for `thmtools` package ([#894](latex-lsp/texlab#894)) - Add `texlab.findEnvironments` command to return the list of environments containing a position ([#892](latex-lsp/texlab#892)) ### Changed - Show inlay hints for labels after the command instead of inside the argument ([#890](latex-lsp/texlab#890)) ### Fixed - Prevent adding trailing newline after formatting with `latexmk` ([#895](latex-lsp/texlab#895)) - Improving `\paragraph` parsing
Now that Neovim supports inlay hints, I suddenly have opinions on it :)
Specifically, it looks a bit weird to me that the inlay hint is part of the label argument, like
instead of outside, like
(note the separation by two spaces, which I think is visually a little bit nicer than just one space).
Is there a specific reason for that?
The text was updated successfully, but these errors were encountered: