Update from jasonwilliams/sublime_toml_highlighting@master#2
Open
evandrocoan wants to merge 20 commits intoevandroforks:masterfrom
Open
Update from jasonwilliams/sublime_toml_highlighting@master#2evandrocoan wants to merge 20 commits intoevandroforks:masterfrom
evandrocoan wants to merge 20 commits intoevandroforks:masterfrom
Conversation
Fix time case sensitivity.
Allow zero-prefixed float exponents.
Fixed the syntax file path in the syntax test, per: #10
Fix the syntax test
This is the lock file used by the [Poetry](https://python-poetry.org/) dependency manager, which is increasingly becoming a standard Example: [poetry.lock](https://github.com/python-poetry/poetry/blob/master/poetry.lock)
Match filename 'poetry.lock'
PDM (https://github.com/pdm-project/pdm) is a Python package/venv manage whose lock file is "pdm.lock".
Highlight pdm.lock as TOML
This fixes a problem where typing a comma in an inline table ends up highlighting the next line as an error. I'm not sure if this is really the best solution, but seems to work for the common case.
Detect illegal end of inline table and pop early
Highlight uv.lock as TOML
(i'm assuming this was previously invalid TOML which was made valid, rather than the syntax highlighting simply being opinionated)
…aming format) note: on line 909 post-commit, the closing brace is no longer part of the invalid scope, only the lonely comma is invalid.
Some adjustments so that inline-keyval-sep stays as only handling separators, and general cleanup.
Recognize multiline inline tables (Fix #21)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The upstream repository
jasonwilliams/sublime_toml_highlighting@masterhas some new changes that aren't in this fork. So, here they are, ready to be merged!This Pull Request was created programmatically by the githubpullrequests.