-
-
Notifications
You must be signed in to change notification settings - Fork 224
Improve support for source(…)
feature in v4
#1083
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
+1,276
−109
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
cb78506
Fix lazy language server creation
thecrypticace 5d06852
Don’t suggest `.d.ts` files for `@config` and `@plugin`
thecrypticace 59d4b90
Refactor
thecrypticace 75cb5d4
Suggest completions for `source(…)`
thecrypticace 741cd18
Don’t show syntax error for `@import … source(…)`
thecrypticace 636fbb5
Fix syntax highlighting for `@tailwind utilities source(…)`
thecrypticace 939c783
Highlight `@source none` as invalid
thecrypticace 8d27fac
Highlight `@import “…” source(…)`
thecrypticace b93d8da
Don’t show diagnostic for `@tailwind utilities source(…)`
thecrypticace 8ccf4d0
Add diagnostic for `@tailwind base / preflight`
thecrypticace c2b2c81
Add diagnostic for `@tailwind components / screens / variants`
thecrypticace c52af63
Add diagnostics for invalid uses of `source(…)` and `@source`
thecrypticace 9f626f8
Detect paths in `source()` directives
thecrypticace 78dd585
Don’t detect document links for glob-style paths
thecrypticace f432e12
Show expansion of `@source` globs on hover
thecrypticace 3e8d3d4
Update lockfile
thecrypticace b5a5cd7
wip
thecrypticace 40c66d1
Update packages/tailwindcss-language-server/tests/diagnostics/source-…
thecrypticace 3152177
Update packages/tailwindcss-language-server/tests/diagnostics/source-…
thecrypticace 30b18fd
Fix typo
thecrypticace 565a57e
Cleanup code
thecrypticace 20499c0
Update tests
thecrypticace 8433c8f
Add suggestion to diagnostic
thecrypticace cdd8029
Update tests
thecrypticace 0b384fc
Fix punctuation
thecrypticace 0d1e473
Tweak diagnostic messages
thecrypticace 6df9b02
Cleanup
thecrypticace 2a2b3a2
Remove source(…) glob diagnostic
thecrypticace c3ad870
Tweak path check
thecrypticace c4a660d
Don’t link windows-style paths
thecrypticace eef8b16
Fix diagnostic
thecrypticace c629289
Don’t show syntax errors for `@import “…” theme(…)`
thecrypticace 2e22ab4
Highlight theme function on import statements
thecrypticace 4e5d7cb
wip
thecrypticace 4305448
Don’t show syntax error for `@import “…” prefix(…)`
thecrypticace 50631a7
Highlight prefix function on imports
thecrypticace e26b475
Simplify regexes
thecrypticace 997911e
Ignore theme functions attached to an `@import`
thecrypticace 5482ae2
Provide completions for @theme and `@import theme(…)`
thecrypticace 3b3c202
Tweak pattern
thecrypticace 618779b
Remove log
thecrypticace 3566b90
Add tests
thecrypticace 7a5f001
Update changelog
thecrypticace 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
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.