Add support for Wavefront OBJ/MTL files

This commit is contained in:
Alhadis
2016-05-27 21:02:39 +10:00
parent 8b0b14c9a6
commit 255db77f1f
5 changed files with 39 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -728,3 +728,6 @@
[submodule "vendor/grammars/creole"]
path = vendor/grammars/creole
url = https://github.com/Siddley/Creole
[submodule "vendor/grammars/language-wavefront"]
path = vendor/grammars/language-wavefront
url = https://github.com/Alhadis/language-wavefront

View File

@@ -380,6 +380,9 @@ vendor/grammars/language-supercollider:
- source.supercollider
vendor/grammars/language-toc-wow:
- source.toc
vendor/grammars/language-wavefront:
- source.wavefront.mtl
- source.wavefront.obj
vendor/grammars/language-xbase:
- source.harbour
vendor/grammars/language-yaml:

View File

@@ -3873,6 +3873,20 @@ Vue:
tm_scope: text.html.vue
ace_mode: html
Wavefront Material:
type: data
extensions:
- .mtl
tm_scope: source.wavefront.mtl
ace_mode: text
Wavefront Object:
type: data
extensions:
- .obj
tm_scope: source.wavefront.obj
ace_mode: text
Web Ontology Language:
type: markup
color: "#9cc9dd"

View File

@@ -0,0 +1,18 @@
---
type: grammar
name: language-wavefront
license: isc
---
Copyright (c) 2016, John Gardner
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.