Add HXML support (#4092)

* Add HXML support

* Fix test failures
This commit is contained in:
Jens Fischer
2018-04-08 12:23:00 +02:00
committed by Colin Seymour
parent 34c623eaba
commit 14fcd75773
4 changed files with 49 additions and 0 deletions

View File

@@ -1821,6 +1821,13 @@ HTTP:
codemirror_mode: http
codemirror_mime_type: message/http
language_id: 152
HXML:
type: data
ace_mode: text
extensions:
- ".hxml"
tm_scope: source.hxml
language_id: 786683730
Hack:
type: programming
ace_mode: php

View File

@@ -0,0 +1,10 @@
buildGlobal.hxml
-lib mcover:2.1.1
-D unittest
-x TestMain
--macro mcover.MCover.coverage(['checkstyle'], ['src'], ['checkstyle.reporter', 'checkstyle.Main'])
--next
-cmd neko run -s src -s test -p resources/static-analysis.txt
-cmd neko run --default-config resources/default-config.json
-cmd neko run -c resources/default-config.json

31
samples/HXML/vshaxe.hxml Normal file
View File

@@ -0,0 +1,31 @@
# This file is generated with vshaxe-build - DO NOT EDIT MANUALLY!
-cp vscode-extern/src
-cp src-api
-cp src
-cp server/src
-cp server/protocol/src
-cp server/formatter/src
-cp server/test
-cp server/formatter/test
-cp syntaxes/src
-D analyzer-optimize
-D js_unflatten
-D hxnodejs-no-version-warning
-D JSTACK_MAIN=vshaxe.Main.main
-D JSTACK_ASYNC_ENTRY
-D JSTACK_FORMAT=vscode
-lib hxnodejs
-lib jstack
-lib haxe-hxparser
-lib compiletime
-lib mockatoo
-lib mconsole
-lib hx3compat
-lib hxargs
-lib json2object
-lib yaml
-lib plist
-debug
-js bin/build.js
--no-inline
-main Build

1
vendor/README.md vendored
View File

@@ -161,6 +161,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **HTML+ERB:** [atom/language-ruby](https://github.com/atom/language-ruby)
- **HTML+PHP:** [textmate/php.tmbundle](https://github.com/textmate/php.tmbundle)
- **HTTP:** [samsalisbury/Sublime-HTTP](https://github.com/samsalisbury/Sublime-HTTP)
- **HXML:** [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage)
- **IDL:** [mgalloy/idl.tmbundle](https://github.com/mgalloy/idl.tmbundle)
- **Idris:** [idris-hackers/idris-sublime](https://github.com/idris-hackers/idris-sublime)
- **Inform 7:** [erkyrath/language-inform7](https://github.com/erkyrath/language-inform7)