mirror of
https://github.com/cmur2/language-fluentd.git
synced 2024-12-22 12:54:26 +01:00
grammar: support folding markers
This commit is contained in:
parent
813fde30c0
commit
3e2a3f0cd0
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## 1.1.0
|
## 1.1.0
|
||||||
|
|
||||||
|
NEW FEATURES:
|
||||||
|
|
||||||
|
- Support folding markers for directives like `<source>...</source>`
|
||||||
|
|
||||||
IMPROVEMENTS:
|
IMPROVEMENTS:
|
||||||
|
|
||||||
- Add example Fluentd Configuration file using as many Fluentd features as possible even if they are not highlighted correctly
|
- Add example Fluentd Configuration file using as many Fluentd features as possible even if they are not highlighted correctly
|
||||||
|
@ -3,6 +3,8 @@ name: 'Fluentd Configuration'
|
|||||||
fileTypes: [
|
fileTypes: [
|
||||||
'fluent.conf'
|
'fluent.conf'
|
||||||
]
|
]
|
||||||
|
foldingStartMarker: '<[^>]+>\\s*$'
|
||||||
|
foldingStopMarker: '^\\s*</[^>]+>'
|
||||||
patterns: [
|
patterns: [
|
||||||
{
|
{
|
||||||
match: "#.*"
|
match: "#.*"
|
||||||
|
Loading…
Reference in New Issue
Block a user