Add support for World of Warcraft .toc files

* Add language rule and heuristic for WoW Addon data

* Add test fixtures for the .toc extension

* Add grammar for syntax highlighting

* Define colour of WoW .toc files

* Refine heuristic to include a commonly-used keyword

* Check whitespace in WoW-token heuristic

* Include additional TeX keywords in .toc heuristic

* Update grammar submodules

* Cache license for WoW-toc grammar

* Reverting sourcepawn update
This commit is contained in:
John Gardner
2016-05-05 07:07:01 +10:00
committed by Arfon Smith
parent 8cf3b7ad51
commit 9ae19a1f94
16 changed files with 121 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
## Interface: 60200
## Title: Vahevian Lotus Vane
## Notes: "Critical Threat Range"
## Version: 4.2
Vahevia.xml
Lotus_Vane.lua

View File

@@ -0,0 +1,11 @@
# Internationalisation example
## Title: Test
## Title-esES: Pruebas
## Title-huHU: Próba
## Notes: "Testing this shit"
## Notes-esES: "Probando la mierda esta"
## Notes-huHU: "Kipróbálom ezt a szart"
Tests.xml
Elk.lua

View File

@@ -0,0 +1,24 @@
# Addon manifest file
## Interface: 60200
## Title: Linguist
## Notes: "Language savant"
## RequiredDeps: charlockHolmes, escapeUtils, mimeTypes, rugged
## LoadOnDemand: 1
## Version: 4.9
# This is a comment
## SavedVariables: foo, bar
## SavedVariablesPerCharacter: fewburt
Languages.xml
Heuristics.xml
h-counter.lua
ruby-isnt.lua
#
# It is possible for addons to query values of any tags with a "X-" prefix.
# Some possibilities include:
#
## X-Date: "2016-04-28"
## X-Website: "https://github.com/"