-
-
Notifications
You must be signed in to change notification settings - Fork 391
add config for semantic-tokens-plugin for mapping from hs token type to LSP default token type #3940
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
Merged
Merged
add config for semantic-tokens-plugin for mapping from hs token type to LSP default token type #3940
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
6ec4ac9
add config for semantic tokens for mapping between hs token type to L…
soulomoon c92429c
fix Missing features header
soulomoon d6ee095
Delete plugins/hls-semantic-tokens-plugin/test/testdata/TDatatype.hs
soulomoon 0183de1
Delete plugins/hls-semantic-tokens-plugin/test/testdata/TDatafamily.hs
soulomoon 63dc0a2
Delete plugins/hls-semantic-tokens-plugin/test/testdata/TPatternsyn.hs
soulomoon 5e0208c
update doc
soulomoon 03b7964
fix ghc96 schema generation
soulomoon 2d3eaaa
remove typedata and add ghc98 scheme generation test file
soulomoon 04fe4ac
Ajust case in mappings
soulomoon fc1b95e
add ghc92 generate scheme
soulomoon 95a9857
add ghc94 generate scheme
soulomoon c80e9fc
cleanup
soulomoon 6acd8a3
modify the lspTokenReverseMap to take semantic config
soulomoon 558c323
rename fromLspTokenType to lspTokenTypeHsTokenType
soulomoon dab0a2b
add description for semantic tokens mappings config
soulomoon e85366f
fix doc and cleanup
soulomoon 6653b03
delete content for /test/testdata/schema for now, since we are modify…
soulomoon 4d11ac7
semantic config keys use lower case in the first element
soulomoon 3819567
add config generation scheme test
soulomoon fe0be7c
fix config generation scheme test
soulomoon dfc458b
ajust names for semantic tokens
soulomoon 8915d06
Merge remote-tracking branch 'upstream/master'
soulomoon dca6875
add token suffix to token type configuration
soulomoon 897e0d3
cleanup
soulomoon da8e955
Merge branch 'master' into master
soulomoon 0e9eb0c
Merge branch 'master' into master
soulomoon b6825a2
fix merge
soulomoon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 56 additions & 52 deletions
108
plugins/hls-semantic-tokens-plugin/src/Ide/Plugin/SemanticTokens/Internal.hs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.