File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
New Grammars:
4
4
5
- - Added 3rd party LookML grammar to SUPPORTED_LANGUAGES [ Josh Temple] [ ]
6
5
- added 3rd party LookML grammar to SUPPORTED_LANGUAGES [ Josh Temple] [ ]
7
6
- added 3rd party FunC grammar to SUPPORTED_LANGUAGES [ Nikita Sobolev] [ ]
8
7
@@ -14,12 +13,14 @@ Grammars:
14
13
- fix(js) do not flag ` import() ` as a function, rather a keyword [ nathnolt] [ ]
15
14
- fix(bash) recognize the ` (( ` keyword [ Nick Chambers] [ ]
16
15
- fix(nix) support escaped dollar signs in strings [ h7x4] [ ]
16
+ - enh(cmake) support bracket comments [ Hirse] [ ]
17
17
18
18
[ Josh Goebel ] : https://github.com/joshgoebel
19
19
[ Josh Temple ] : https://github.com/joshtemple
20
20
[ nathnolt ] : https://github.com/nathnolt
21
21
[ Nick Chambers ] : https://github.com/uplime
22
22
[ h7x4 ] : https://github.com/h7x4
23
+ [ Hirse ] : https://github.com/Hirse
23
24
24
25
25
26
## Version 11.6.0
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export default function(hljs) {
52
52
begin : / \$ \{ / ,
53
53
end : / \} /
54
54
} ,
55
+ hljs . COMMENT ( / # \[ \[ / , / ] ] / ) ,
55
56
hljs . HASH_COMMENT_MODE ,
56
57
hljs . QUOTE_STRING_MODE ,
57
58
hljs . NUMBER_MODE
Original file line number Diff line number Diff line change 17
17
18
18
<span class="hljs-keyword">add_executable</span>(myproject main.cpp mainwindow.cpp)
19
19
<span class="hljs-keyword">qt5_use_modules</span>(myproject Widgets)
20
+
21
+ <span class="hljs-comment">#[[This is a bracket comment.
22
+ It runs until the close bracket.]]</span>
23
+ <span class="hljs-keyword">message</span>(<span class="hljs-string">"First Argument\n"</span> <span class="hljs-comment">#[[Bracket Comment]]</span> <span class="hljs-string">"Second Argument"</span>)
Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ find_package(Qt5Widgets REQUIRED)
17
17
18
18
add_executable(myproject main.cpp mainwindow.cpp)
19
19
qt5_use_modules(myproject Widgets)
20
+
21
+ #[[This is a bracket comment.
22
+ It runs until the close bracket.]]
23
+ message("First Argument\n" #[[Bracket Comment]] "Second Argument")
You can’t perform that action at this time.
0 commit comments