Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add language Skript #5726

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -1146,3 +1146,6 @@
[submodule "vendor/grammars/zephir-sublime"]
path = vendor/grammars/zephir-sublime
url = https://github.com/phalcon/zephir-sublime
[submodule "vendor/grammars/Language-Skript"]
path = vendor/grammars/Language-Skript
url = https://github.com/Skript-Atom/Language-Skript.git
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'
gemspec :name => "github-linguist"


blockarchitech marked this conversation as resolved.
Show resolved Hide resolved
group :debug do
gem 'byebug' if RUBY_VERSION >= '2.2'
end
2 changes: 2 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ vendor/grammars/Isabelle.tmbundle:
- source.isabelle.theory
vendor/grammars/JSyntax:
- source.j
vendor/grammars/Language-Skript:
- source.skript
vendor/grammars/LiveScript.tmbundle:
- source.livescript
vendor/grammars/MATLAB-Language-grammar:
Expand Down
8 changes: 8 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7218,3 +7218,11 @@ xBase:
tm_scope: source.harbour
ace_mode: text
language_id: 421
Skript:
type: programming
color:
aliases:
- sk
extensions:
- ".sk"
language_id: 754733364
6 changes: 6 additions & 0 deletions samples/Skript/command-hello.sk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# GitHub Lingust Example Skript

on command /hello:
permission: hi.hello
trigger:
send "Hello!" to player
blockarchitech marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 6 additions & 0 deletions samples/Skript/spawn-spider.sk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# GitHub Lingust Sample - Spawn a spider where player is

command /spider:
permission: spider.spider
trigger:
spawn a spider at player's location
1 change: 1 addition & 0 deletions vendor/grammars/Language-Skript
Submodule Language-Skript added at 2db7ee