feat(texlab): give the find environments command a ui wrapper #3263
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR tries to improve #3225 by filtering the output and presenting it with
![2024-08-08-16:46:06](https://private-user-images.githubusercontent.com/121033874/356284704-efc3e405-36f4-406d-8621-e812ad8895ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzExMzYsIm5iZiI6MTczOTI3MDgzNiwicGF0aCI6Ii8xMjEwMzM4NzQvMzU2Mjg0NzA0LWVmYzNlNDA1LTM2ZjQtNDA2ZC04NjIxLWU4MTJhZDg4OTVlYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxMDQ3MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04OWYwYzgzODVlNzNkNjIzNThlZmJhYTMzMzgyNWEzZTM5YWVmZGY3NTA2NzM4NWFjZjliZTlkYWFjODczYWY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.BRy9P4m6YYwz08OxIZfZY467AsRkWNN_Xf80olmLIaY)
![2024-08-08-16:27:44](https://private-user-images.githubusercontent.com/121033874/356284750-cee627de-6aea-4e66-9f06-1fe3b428c45c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzExMzYsIm5iZiI6MTczOTI3MDgzNiwicGF0aCI6Ii8xMjEwMzM4NzQvMzU2Mjg0NzUwLWNlZTYyN2RlLTZhZWEtNGU2Ni05ZjA2LTFmZTNiNDI4YzQ1Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxMDQ3MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kOWIwYTgxM2U4M2M1ZGRmNzdkNmExMWE2OTE0NjBjNTc5OTA4OWE3NzJiYjYwMmI5ZjA5MDQ0OGRhNjYwYzRjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.UYDhJieeny0qY_7WgXjYsSAWf9kBte-JgDUbgtQUqWU)
vim.lsp.util.open_floating_preview
. It is a pretty simple implementation that leverages builtin lua functions and basic API, therefore it should not be a burden to maintain. I have tested it locally without any major problems and i will keep testing, while making sure no issues pop up in this repo regarding this feature. I am really sure if the way the border style is setup is fitting.Here are some images:
I am totally open to any suggestions :)