Skip to content

Commit

Permalink
Update the VBDotNetSyntax grammar URL (github-linguist#5664)
Browse files Browse the repository at this point in the history
* Update grammar url

* Fix script to allow replacing
  • Loading branch information
lildude authored Nov 30, 2021
1 parent 0669b8f commit bf656d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
url = https://github.com/gwalborn/UrWeb-Language-Definition.git
[submodule "vendor/grammars/VBDotNetSyntax"]
path = vendor/grammars/VBDotNetSyntax
url = https://github.com/angryant0007/VBDotNetSyntax
url = https://github.com/peters-ben-0007/VBDotNetSyntax.git
[submodule "vendor/grammars/Vala-TMBundle"]
path = vendor/grammars/Vala-TMBundle
url = https://github.com/technosophos/Vala-TMBundle
Expand Down
2 changes: 1 addition & 1 deletion script/add-grammar
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ url=`script/normalise-url --protocol=https "$1"`
# Make sure it's not already registered
path="vendor/grammars/${url##*/}"
path="${path%.git}"
if [ -e "$path" ]; then
if [ -e "$path" ] && [ -z "$replace" ]; then
warn "Submodule '$path' already exists. Did you forget the '--replace' option?"
warn "Run '$0 --help' for invocation advice"
exit 1
Expand Down
10 changes: 5 additions & 5 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Forth:** [textmate/forth.tmbundle](https://github.com/textmate/forth.tmbundle)
- **Fortran:** [textmate/fortran.tmbundle](https://github.com/textmate/fortran.tmbundle)
- **Fortran Free Form:** [textmate/fortran.tmbundle](https://github.com/textmate/fortran.tmbundle)
- **FreeBasic:** [angryant0007/VBDotNetSyntax](https://github.com/angryant0007/VBDotNetSyntax)
- **FreeBasic:** [peters-ben-0007/VBDotNetSyntax](https://github.com/peters-ben-0007/VBDotNetSyntax)
- **FreeMarker:** [freemarker/FreeMarker.tmbundle](https://github.com/freemarker/FreeMarker.tmbundle)
- **Frege:** [atom-haskell/language-haskell](https://github.com/atom-haskell/language-haskell)
- **Futhark:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
Expand Down Expand Up @@ -383,7 +383,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **R:** [textmate/r.tmbundle](https://github.com/textmate/r.tmbundle)
- **RAML:** [atom/language-yaml](https://github.com/atom/language-yaml)
- **RDoc:** [joshaven/RDoc.tmbundle](https://github.com/joshaven/RDoc.tmbundle)
- **REALbasic:** [angryant0007/VBDotNetSyntax](https://github.com/angryant0007/VBDotNetSyntax)
- **REALbasic:** [peters-ben-0007/VBDotNetSyntax](https://github.com/peters-ben-0007/VBDotNetSyntax)
- **REXX:** [mblocker/rexx-sublime](https://github.com/mblocker/rexx-sublime)
- **RMarkdown:** [atom/language-gfm](https://github.com/atom/language-gfm)
- **RPC:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
Expand Down Expand Up @@ -486,8 +486,8 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **UnrealScript:** [textmate/java.tmbundle](https://github.com/textmate/java.tmbundle)
- **UrWeb:** [gwalborn/UrWeb-Language-Definition](https://github.com/gwalborn/UrWeb-Language-Definition)
- **V:** [0x9ef/vscode-vlang](https://github.com/0x9ef/vscode-vlang)
- **VBA:** [angryant0007/VBDotNetSyntax](https://github.com/angryant0007/VBDotNetSyntax)
- **VBScript:** [angryant0007/VBDotNetSyntax](https://github.com/angryant0007/VBDotNetSyntax)
- **VBA:** [peters-ben-0007/VBDotNetSyntax](https://github.com/peters-ben-0007/VBDotNetSyntax)
- **VBScript:** [peters-ben-0007/VBDotNetSyntax](https://github.com/peters-ben-0007/VBDotNetSyntax)
- **VCL:** [brandonwamboldt/sublime-varnish](https://github.com/brandonwamboldt/sublime-varnish)
- **VHDL:** [textmate/vhdl.tmbundle](https://github.com/textmate/vhdl.tmbundle)
- **Vala:** [technosophos/Vala-TMBundle](https://github.com/technosophos/Vala-TMBundle)
Expand All @@ -496,7 +496,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Vim Help File:** [Alhadis/language-viml](https://github.com/Alhadis/language-viml)
- **Vim Script:** [Alhadis/language-viml](https://github.com/Alhadis/language-viml)
- **Vim Snippet:** [Alhadis/language-viml](https://github.com/Alhadis/language-viml)
- **Visual Basic .NET:** [angryant0007/VBDotNetSyntax](https://github.com/angryant0007/VBDotNetSyntax)
- **Visual Basic .NET:** [peters-ben-0007/VBDotNetSyntax](https://github.com/peters-ben-0007/VBDotNetSyntax)
- **Volt:** [textmate/d.tmbundle](https://github.com/textmate/d.tmbundle)
- **Vue:** [vuejs/vue-syntax-highlight](https://github.com/vuejs/vue-syntax-highlight)
- **Wavefront Material:** [Alhadis/language-wavefront](https://github.com/Alhadis/language-wavefront)
Expand Down

0 comments on commit bf656d4

Please sign in to comment.