Skip to content

Commit 7ff7135

Browse files
committed
Fix annotation blocks
They do not need to start on a new line and can be mixed with other code
1 parent 3a1f43d commit 7ff7135

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Version 0.5.0
2+
* Fix annotation blocks
3+
14
## Version 0.4.1
25
* Readme correction
36

@@ -17,4 +20,3 @@
1720
## Version 0.1.0
1821

1922
* Initial release
20-

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

33
Copyright (c) 2017 Philippe SÉRAPHIN
4+
Copyright (c) 2023 James Adams
45

56
Permission is hereby granted, free of charge, to any person obtaining
67
a copy of this software and associated documentation files (the

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Syntax highlilightin for the Pan Configuration Language use by [Quattor deployme
99

1010
# License
1111

12-
[MIT](https://github.com/quattor/vscode-language-pan/blob/main/LICENSE.md) © Philippe SÉRAPHIN
12+
[MIT](https://github.com/quattor/vscode-language-pan/blob/main/LICENSE.md) © Philippe SÉRAPHIN, James Adams
1313

1414
---

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
2-
"name": "Pan",
2+
"name": "pan",
33
"displayName": "Pan Configuration language",
44
"description": "Configuration Language for Quattor deployment tool",
55
"icon": "pan.png",
6-
"version": "0.4.1",
7-
"publisher": "seraf1",
6+
"version": "0.5.0",
7+
"publisher": "quattor",
8+
"repository": {"url": "https://github.com/quattor/vscode-language-pan"},
89
"engines": {
910
"vscode": "*"
1011
},
1112
"categories": [
12-
"Languages"
13+
"Programming Languages"
1314
],
1415
"contributes": {
1516
"languages": [
@@ -34,4 +35,4 @@
3435
}
3536
]
3637
}
37-
}
38+
}

syntaxes/pan.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@
9191
},
9292
"annotation": {
9393
"name": "comment.block.documentation.end.pan",
94-
"begin": "^(@)",
94+
"begin": "(@\\S*{)",
9595
"beginCaptures": {
9696
"0": {
9797
"name": "comment.block.documentation.begin.pan"
9898
}
9999
},
100-
"end": "^(})\\n",
100+
"end": "(})",
101101
"endCaptures": {
102102
"0": {
103103
"name": "comment.block.documentation.end.pan"

0 commit comments

Comments
 (0)