1
0
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:
cn 2017-11-23 20:34:40 +01:00
parent 813fde30c0
commit 3e2a3f0cd0
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -3,6 +3,8 @@ name: 'Fluentd Configuration'
fileTypes: [ fileTypes: [
'fluent.conf' 'fluent.conf'
] ]
foldingStartMarker: '<[^>]+>\\s*$'
foldingStopMarker: '^\\s*</[^>]+>'
patterns: [ patterns: [
{ {
match: "#.*" match: "#.*"