Skip to content

Commit

Permalink
Merge pull request #9 from slimsag/master
Browse files Browse the repository at this point in the history
Make the syntax work with Syntect; support Cargo.lock and Gopkg.lock TOML files
  • Loading branch information
jasonwilliams authored Jun 12, 2018
2 parents 4f07529 + 5c239bc commit 72ae770
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TOML.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ name: TOML
file_extensions:
- toml
- tml
- Cargo.lock
- Gopkg.lock

scope: source.toml

variables:
ws: '[ \t]*'
wsnl: '[ \t\n]*'
wsnl: '([ \t\n])*'

# Used to detect the possible start of a key.
peek_key_start: '(?=[A-Za-z0-9_''"-])'
Expand Down

0 comments on commit 72ae770

Please sign in to comment.