Skip to content

Commit 32de4d9

Browse files
committed
Add LLVM IR and LLVM TableGen syntax highlighting
1 parent db4753a commit 32de4d9

File tree

9 files changed

+649
-80
lines changed

9 files changed

+649
-80
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Syntax highlighting for
3232
- JSON5
3333
- jsonl
3434
- Linker Scripts
35+
- LLVM IR
3536
- Log
3637
- Logstash
3738
- M3U
@@ -48,6 +49,7 @@ Syntax highlighting for
4849
- sxhkdrc
4950
- systemd
5051
- T4
52+
- LLVM TableGen
5153
- terminfo
5254
- Thrift
5355
- Typo3
@@ -84,6 +86,8 @@ Syntax highlighting for
8486
- [vscode-json5](https://github.com/mrmlnc/vscode-json5) by mrmlnc (MIT)
8587
- [jsonl](https://github.com/Alpha4/jsonl) by Alpha4 (MIT)
8688
- [vscode-linkerscript](https://github.com/TheNetAdmin/vscode-linkerscript) by TheNetAdmin (MIT)
89+
- [llvm-syntax-highlighting](https://github.com/colejcummins/llvm-syntax-highlighting) by colejcummins (MIT)
90+
- [vscode-llvm-tablegen](https://github.com/jakoberzar/vscode-llvm-tablegen) by jakoberzar (MIT)
8791
- [vscode-log-output-colorizer](https://github.com/IBM-Cloud/vscode-log-output-colorizer) by IBM-Cloud (MIT)
8892
- [vscode-logstash-configuration-syntax](https://github.com/randomchance/vscode-logstash-configuration-syntax) by randomchance (MIT)
8993
- [vscode-m3u](https://github.com/af4jm/vscode-m3u) by af4jm (Apache-2.0)

bake

Lines changed: 13 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"comments": {
3+
"lineComment": ";"
4+
},
5+
"brackets": [
6+
[
7+
"{",
8+
"}"
9+
],
10+
[
11+
"[",
12+
"]"
13+
],
14+
[
15+
"(",
16+
")"
17+
]
18+
],
19+
"autoClosingPairs": [
20+
[
21+
"{",
22+
"}"
23+
],
24+
[
25+
"[",
26+
"]"
27+
],
28+
[
29+
"(",
30+
")"
31+
],
32+
[
33+
"\"",
34+
"\""
35+
],
36+
[
37+
"'",
38+
"'"
39+
]
40+
],
41+
"surroundingPairs": [
42+
[
43+
"{",
44+
"}"
45+
],
46+
[
47+
"[",
48+
"]"
49+
],
50+
[
51+
"(",
52+
")"
53+
],
54+
[
55+
"\"",
56+
"\""
57+
],
58+
[
59+
"'",
60+
"'"
61+
]
62+
]
63+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"comments": {
3+
"lineComment": "//",
4+
"blockComment": [
5+
"/*",
6+
"*/"
7+
]
8+
},
9+
"brackets": [
10+
[
11+
"{",
12+
"}"
13+
],
14+
[
15+
"[",
16+
"]"
17+
],
18+
[
19+
"(",
20+
")"
21+
]
22+
],
23+
"autoClosingPairs": [
24+
[
25+
"{",
26+
"}"
27+
],
28+
[
29+
"[",
30+
"]"
31+
],
32+
[
33+
"(",
34+
")"
35+
],
36+
[
37+
"\"",
38+
"\""
39+
],
40+
[
41+
"'",
42+
"'"
43+
]
44+
],
45+
"surroundingPairs": [
46+
[
47+
"{",
48+
"}"
49+
],
50+
[
51+
"[",
52+
"]"
53+
],
54+
[
55+
"(",
56+
")"
57+
],
58+
[
59+
"\"",
60+
"\""
61+
],
62+
[
63+
"'",
64+
"'"
65+
]
66+
]
67+
}

package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,17 @@
436436
],
437437
"configuration": "./language-configuration/linkerscript.language-configuration.json"
438438
},
439+
{
440+
"id": "llvm",
441+
"aliases": [
442+
"LLVM",
443+
"llvm"
444+
],
445+
"extensions": [
446+
".ll"
447+
],
448+
"configuration": "./language-configuration/llvm.language-configuration.json"
449+
},
439450
{
440451
"id": "logfile",
441452
"aliases": [
@@ -643,6 +654,18 @@
643654
],
644655
"configuration": "./language-configuration/t4.language-configuration.json"
645656
},
657+
{
658+
"id": "tablegen",
659+
"aliases": [
660+
"TableGen",
661+
"tblgen",
662+
"tablegen"
663+
],
664+
"extensions": [
665+
".td"
666+
],
667+
"configuration": "./language-configuration/tablegen.language-configuration.json"
668+
},
646669
{
647670
"id": "terminfo",
648671
"aliases": [
@@ -953,6 +976,11 @@
953976
"scopeName": "source.ld",
954977
"path": "./syntaxes/linkerscript.tmLanguage.json"
955978
},
979+
{
980+
"language": "llvm",
981+
"scopeName": "source.ll",
982+
"path": "./syntaxes/llvm.tmLanguage.json"
983+
},
956984
{
957985
"language": "logfile",
958986
"scopeName": "text.logfile",
@@ -1050,6 +1078,11 @@
10501078
"scopeName": "source.t4",
10511079
"path": "./syntaxes/t4.tmLanguage.json"
10521080
},
1081+
{
1082+
"language": "tablegen",
1083+
"scopeName": "source.tablegen",
1084+
"path": "./syntaxes/tablegen.tmLanguage.json"
1085+
},
10531086
{
10541087
"language": "terminfo",
10551088
"scopeName": "source.terminfo",

0 commit comments

Comments
 (0)