Skip to content

Update from jasonwilliams/sublime_toml_highlighting@master#2

Open
evandrocoan wants to merge 20 commits intoevandroforks:masterfrom
jasonwilliams:master
Open

Update from jasonwilliams/sublime_toml_highlighting@master#2
evandrocoan wants to merge 20 commits intoevandroforks:masterfrom
jasonwilliams:master

Conversation

@evandrocoan
Copy link
Member

The upstream repository jasonwilliams/sublime_toml_highlighting@master has 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.

pbsds and others added 13 commits January 18, 2022 20:45
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".
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants