Skip to content

Commit

Permalink
VB: Added VBA alias (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Jul 22, 2020
1 parent ed1df1e commit 78161d6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,10 @@
},
"visual-basic": {
"title": "Visual Basic",
"alias": "vb",
"alias": ["vb", "vba"],
"aliasTitles": {
"vba": "VBA"
},
"owner": "Golmote"
},
"warpscript": {
Expand Down
1 change: 1 addition & 0 deletions components/prism-visual-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ Prism.languages['visual-basic'] = {
};

Prism.languages.vb = Prism.languages['visual-basic'];
Prism.languages.vba = Prism.languages['visual-basic'];
2 changes: 1 addition & 1 deletion components/prism-visual-basic.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions plugins/autoloader/prism-autoloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
"uscript": "unrealscript",
"uc": "unrealscript",
"vb": "visual-basic",
"vba": "visual-basic",
"xeoracube": "xeora",
"yml": "yaml"
}/*]*/;
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoloader/prism-autoloader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions plugins/show-language/prism-show-language.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
"vhdl": "VHDL",
"vim": "vim",
"visual-basic": "Visual Basic",
"vba": "VBA",
"vb": "Visual Basic",
"wasm": "WebAssembly",
"wiki": "Wiki markup",
Expand Down
Loading

0 comments on commit 78161d6

Please sign in to comment.