Skip to content

Commit

Permalink
Add Answer Set Programming
Browse files Browse the repository at this point in the history
  • Loading branch information
nickswalker committed Dec 30, 2024
1 parent 63cfd70 commit 664d615
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@
[submodule "vendor/grammars/asciidoc.tmbundle"]
path = vendor/grammars/asciidoc.tmbundle
url = https://github.com/zuckschwerdt/asciidoc.tmbundle
[submodule "vendor/grammars/asp-syntax-highlight"]
path = vendor/grammars/asp-syntax-highlight
url = https://github.com/nickswalker/asp-syntax-highlight.git
[submodule "vendor/grammars/asp.tmbundle"]
path = vendor/grammars/asp.tmbundle
url = https://github.com/textmate/asp.tmbundle
Expand Down
2 changes: 2 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ vendor/grammars/applescript.tmbundle:
- source.applescript
vendor/grammars/asciidoc.tmbundle:
- text.html.asciidoc
vendor/grammars/asp-syntax-highlight:
- source.answersetprogramming
vendor/grammars/asp.tmbundle:
- source.asp
- text.html.asp
Expand Down
10 changes: 10 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,16 @@ AngelScript:
codemirror_mode: clike
codemirror_mime_type: text/x-c++src
language_id: 389477596
Answer Set Programming:
type: programming
color: "#A9CC29"
extensions:
- ".lp"
interpreters:
- "clingo"
tm_scope: source.answersetprogramming
ace_mode: prolog
language_id: 433009171
Ant Build System:
type: data
color: "#A9157E"
Expand Down
1 change: 1 addition & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Alpine Abuild:** [atom/language-shellscript](https://github.com/atom/language-shellscript)
- **Altium Designer:** [textmate/ini.tmbundle](https://github.com/textmate/ini.tmbundle)
- **AngelScript:** [wronex/sublime-angelscript](https://github.com/wronex/sublime-angelscript)
- **Answer Set Programming:** [nickswalker/asp-syntax-highlight](https://github.com/nickswalker/asp-syntax-highlight)
- **Ant Build System:** [textmate/ant.tmbundle](https://github.com/textmate/ant.tmbundle)
- **Antlers:** [Stillat/vscode-antlers-language-server](https://github.com/Stillat/vscode-antlers-language-server)
- **ApacheConf:** [textmate/apache.tmbundle](https://github.com/textmate/apache.tmbundle)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/asp-syntax-highlight
Submodule asp-syntax-highlight added at 913ac8
31 changes: 31 additions & 0 deletions vendor/licenses/git_submodule/asp-syntax-highlight.dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: asp-syntax-highlight
version: 913ac8ffc70f5d72c07d74637511d632c175c410
type: git_submodule
homepage: https://github.com/nickswalker/asp-syntax-highlight.git
license: mit
licenses:
- sources: LICENSE
text: |
MIT License
Copyright (c) 2017 Arnaud Belcour
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.
notices: []

0 comments on commit 664d615

Please sign in to comment.