-
Notifications
You must be signed in to change notification settings - Fork 191
feat: Typst Language Support #302
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
Changes from 17 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
bed51f7
feat(#230): map basic typst expressions to tokens
grantlemons 7201575
feat(#230): change recursive shorthand from macro to function
grantlemons d880613
feat(#230): flesh out more complicated typst syntax parsing
grantlemons 9376e71
feat(#230): delegate typst files to parser in harper-cli and harper-ls
grantlemons 749e6dd
fix(#230): fix offset update after delegating parser
grantlemons ba3c307
fix(#230): ParBreak to ParBreak, not two Newlines
grantlemons c6a4d05
feat(#230): remove offset variable, and just use the start of an
grantlemons 0425110
feat(#230): parse numbers properly and add test for numbers
grantlemons 1f43b27
feat(#230): consolidate words separated by apostrophes into possessiv…
grantlemons 835c396
fix(clippy): satisfy clippy
grantlemons 4dbc264
feat(#230): simplify possessive-conjunction logic and add respective …
grantlemons f3eda92
feat(#230): create additional parsers for complex dictionary parsing
grantlemons 24e0551
feat(#230): add some tests for dictionary parsing, and improve dict p…
grantlemons c63d41a
fix(#230): fix dict parsing by manually getting document content in s…
grantlemons f57d6c2
fix(#230): remove debug print of typst ast in test
grantlemons 550cf20
style(#230): expand explainer on str parsing
grantlemons 7cd135f
feat(#230): remove quotes from Str parsing
grantlemons 54418ff
fix(#230): remove improper test case
grantlemons 935c85d
Merge remote-tracking branch 'upstream/master' into typst-support
grantlemons 5336778
tests(#230): add test using unicode apostrophe
grantlemons 60bb986
refactor(#230): simplify parsing by moving some helper functions insi…
grantlemons 299d810
feat(#230): support unicode characters
grantlemons 58b3fb0
fix(#230): use offset struct for constant tokens
grantlemons 1776346
feat(#230): mark labels unlintable and add some tests
grantlemons fe4979e
refactor(#230): simplify matching macros
grantlemons 17585f3
refactor(#230): create helper struct and make parser trait non-mut
grantlemons 90d5074
refactor(#230): simplify dict and pattern parsing and correctly handl…
grantlemons 3f9ecb5
feat(spans-visual): mark unlintable spans as red
grantlemons 4ec7f71
tests(#230): add complex typst document test
grantlemons 81eb91b
feat(#230): parsing of arguments and parameters
grantlemons 4457bff
tests(#230): comment out et al. in typst test
grantlemons 1d0b972
fix: only condense adjacent spaces
grantlemons b61c78c
fix: better handling of spaces and newlines
grantlemons a29b879
fix: testing rig takes a parser instead of assuming markdown
grantlemons 00623b0
fix(#230): mark numbers outside text as unlintable
grantlemons 122436f
tests(#230): add document with spelling mistakes in different contexts
grantlemons 5f83275
tests(#230): edit test macros to parse the extension
grantlemons 2e97afe
Revert "feat(spans-visual): mark unlintable spans as red"
grantlemons 83789eb
Revert portions of "fix: better handling of spaces and newlines"
grantlemons e66ec68
Merge remote-tracking branch 'upstream/master' into typst-support
grantlemons 2c8bf13
Merge branch 'master' into typst-support
grantlemons ee1080d
feat(#230): make typst into a feature
grantlemons 6373988
fix(#230): improve feature interconnectedness in other project crates
grantlemons f5881c3
fix(#230): use dep: syntax in harper-core
grantlemons 32da8f8
Merge branch 'master' into typst-support
grantlemons df7652b
fix: add newline to eof
grantlemons 6dcf841
refactor: change harper_ls language_id if chain to match statement
grantlemons 1672de3
refactor: move typst parsing to a new crate
grantlemons ada56a0
refactor: add many comments to typst parser
grantlemons d638a28
refactor: undo changes to test runner so it is all markdown
grantlemons cfb468c
fix: add crate info to Cargo.toml
grantlemons 0f55ab1
Merge remote-tracking branch 'upstream/master' into typst-support
grantlemons fcd965b
Merge remote-tracking branch 'upstream/master' into typst-support
grantlemons 911bcdb
fix(#230): remove feature flags
grantlemons 79e743e
fix(#230): use document in tests to handle contractions
grantlemons 290a08a
Merge remote-tracking branch 'upstream/master' into typst-support
grantlemons ec307ab
fix(#230): remove pattern previously used for contractions
grantlemons 6a16626
fix(core): delete erroneous file that was breaking the build
elijah-potter 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.