mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add grammar for HLSL (High Level Shading Language) (#3469)
This commit is contained in:
5
.gitmodules
vendored
5
.gitmodules
vendored
@@ -820,4 +820,7 @@
|
|||||||
url = https://github.com/Alhadis/language-regexp
|
url = https://github.com/Alhadis/language-regexp
|
||||||
[submodule "vendor/grammars/Terraform.tmLanguage"]
|
[submodule "vendor/grammars/Terraform.tmLanguage"]
|
||||||
path = vendor/grammars/Terraform.tmLanguage
|
path = vendor/grammars/Terraform.tmLanguage
|
||||||
url = https://github.com/alexlouden/Terraform.tmLanguage
|
url = https://github.com/alexlouden/Terraform.tmLanguage
|
||||||
|
[submodule "vendor/grammars/shaders-tmLanguage"]
|
||||||
|
path = vendor/grammars/shaders-tmLanguage
|
||||||
|
url = https://github.com/tgjones/shaders-tmLanguage
|
||||||
|
|||||||
@@ -573,6 +573,9 @@ vendor/grammars/scilab.tmbundle:
|
|||||||
- source.scilab
|
- source.scilab
|
||||||
vendor/grammars/secondlife-lsl:
|
vendor/grammars/secondlife-lsl:
|
||||||
- source.lsl
|
- source.lsl
|
||||||
|
vendor/grammars/shaders-tmLanguage:
|
||||||
|
- source.hlsl
|
||||||
|
- source.shaderlab
|
||||||
vendor/grammars/smali-sublime:
|
vendor/grammars/smali-sublime:
|
||||||
- source.smali
|
- source.smali
|
||||||
vendor/grammars/smalltalk-tmbundle:
|
vendor/grammars/smalltalk-tmbundle:
|
||||||
|
|||||||
@@ -1598,7 +1598,7 @@ HLSL:
|
|||||||
- ".fxh"
|
- ".fxh"
|
||||||
- ".hlsli"
|
- ".hlsli"
|
||||||
ace_mode: text
|
ace_mode: text
|
||||||
tm_scope: none
|
tm_scope: source.hlsl
|
||||||
language_id: 145
|
language_id: 145
|
||||||
HTML:
|
HTML:
|
||||||
type: markup
|
type: markup
|
||||||
|
|||||||
1
vendor/grammars/shaders-tmLanguage
vendored
Submodule
1
vendor/grammars/shaders-tmLanguage
vendored
Submodule
Submodule vendor/grammars/shaders-tmLanguage added at cd1ef40f54
26
vendor/licenses/grammar/shaders-tmLanguage.txt
vendored
Normal file
26
vendor/licenses/grammar/shaders-tmLanguage.txt
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
type: grammar
|
||||||
|
name: shaders-tmLanguage
|
||||||
|
license: mit
|
||||||
|
---
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2017 Tim Jones
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
Reference in New Issue
Block a user