Skip to content

Commit ae9126d

Browse files
authored
Merge pull request #300 from jpogran/GH-289-autoindent
(GH-289) Autoindent
2 parents 03b7d28 + 5ecfae4 commit ae9126d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
2323
- ([GH-241](https://github.com/lingua-pupuli/puppet-vscode/issues/241)) Honor specified tcp port
2424
- ([GH-240](https://github.com/lingua-pupuli/puppet-vscode/issues/240)) Add TCP retry functionality
2525
- ([GH-296](https://github.com/lingua-pupuli/puppet-vscode/issues/296)) Set document file scheme
26+
- ([GH-289](https://github.com/lingua-pupuli/puppet-vscode/issues/289)) Fix autoindenting for DSL
2627

2728
## 0.10.0 - 2018-03-29
2829

languages/puppet.configuration.json renamed to languages/puppet-language-configuration.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// symbol used for single line comment. Remove this entry if your language does not support line comments
44
"lineComment": "#",
55
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
6-
"blockComment": "#"
6+
"blockComment": ["/*","*/"]
77
},
88
// symbols used as brackets
99
"brackets": [
@@ -29,10 +29,10 @@
2929
],
3030
// support for region folding
3131
"folding": {
32-
"offSide": true,
33-
"markers": {
34-
"start": "^\\s*#\\s*region\\b",
35-
"end": "^\\s*#\\s*endregion\\b"
36-
}
37-
}
32+
"offSide": true,
33+
"markers": {
34+
"start": "^\\s*#\\s*region\\b",
35+
"end": "^\\s*#\\s*endregion\\b"
36+
}
37+
}
3838
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
".pp",
6666
".epp"
6767
],
68-
"configuration": "./languages/puppet.configuration.json"
68+
"configuration": "./languages/puppet-language-configuration.json"
6969
}
7070
],
7171
"jsonValidation": [

0 commit comments

Comments
 (0)