Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Support local times
Browse files Browse the repository at this point in the history
  • Loading branch information
Winston Liu authored and Winston Liu committed Mar 25, 2019
1 parent 254f506 commit 32de558
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grammars/toml.cson
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@
'2': 'name': 'keyword.other.offset.toml'
'3': 'name': 'keyword.other.offset.toml'
}
{
'match': '\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?'
'name': 'constant.numeric.date.toml'
}
{
'match': '[+-]?(0|[1-9]\\d*)(_\\d+)*((\\.\\d+)(_\\d+)*)?([eE][+-]?\\d+(_\\d+)*)?'
'name': 'constant.numeric.toml'
Expand Down

0 comments on commit 32de558

Please sign in to comment.