Merge pull request #646 from arite/master

[language-toml] Add whitespace rule to values
This commit is contained in:
confused_techie 2023-07-25 16:38:43 -07:00 committed by GitHub
commit 5fb4284eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,11 +95,11 @@
'values':
'patterns': [
{
'begin': '\\[\\s*'
'begin': '\\['
'beginCaptures':
'0':
'name': 'punctuation.definition.array.begin.toml'
'end': '\\s*\\]'
'end': '\\]'
'endCaptures':
'0':
'name': 'punctuation.definition.array.end.toml'
@ -108,7 +108,7 @@
'include': '#comment'
}
{
'match': ',\\s*'
'match': ','
'name': 'punctuation.definition.separator.comma.toml'
}
{
@ -200,6 +200,9 @@
{
'include': '#numbers'
}
{
'include': '#whitespace'
}
{
'match': '.+'
'name': 'invalid.illegal.toml'
@ -293,3 +296,6 @@
'name': 'constant.numeric.binary.toml'
}
]
'whitespace':
'match': '\\s+'
'name': 'punctuation.whitespace.ignore.toml'