mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 22:50:22 +03:00
Merge pull request #646 from arite/master
[language-toml] Add whitespace rule to values
This commit is contained in:
commit
5fb4284eb2
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user