Skip to content

Commit c530f44

Browse files
committed
Initial Commit
0 parents  commit c530f44

68 files changed

Lines changed: 3348 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# git
2+
.github/ export-ignore
3+
.git export-ignore
4+
.gitattributes export-ignore
5+
.gitignore export-ignore
6+
# development
7+
tests/ export-ignore
8+
*.cmd export-ignore
9+
# other
10+
logo.* export-ignore
11+
preview.* export-ignore
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: CI Syntax Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags-ignore:
8+
- '**'
9+
paths:
10+
- '.github/workflows/ci-syntax-tests.yml'
11+
- '**.sublime-syntax'
12+
- '**/syntax_test_*'
13+
- '**.tmPreferences'
14+
pull_request:
15+
paths:
16+
- '.github/workflows/ci-syntax-tests.yml'
17+
- '**.sublime-syntax'
18+
- '**/syntax_test_*'
19+
- '**.tmPreferences'
20+
workflow_dispatch:
21+
22+
jobs:
23+
syntax_tests:
24+
name: Sublime Text ${{ matrix.build }}
25+
runs-on: ubuntu-latest
26+
timeout-minutes: 15 # default is 6 hours!
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
include:
31+
# Stable ST4 builds
32+
- build: 4107
33+
default_packages: binary
34+
- build: 4152
35+
default_packages: binary
36+
- build: 4169
37+
default_packages: binary
38+
- build: 4180
39+
default_packages: binary
40+
- build: 4192
41+
default_packages: binary
42+
- build: 4200
43+
default_packages: binary
44+
# Latest dev build (and latest available maybe unreleased syntaxes)
45+
# - build: latest
46+
# default_packages: master
47+
steps:
48+
- uses: actions/checkout@v6
49+
with:
50+
path: LiveScript
51+
- uses: SublimeText/syntax-test-action@v2
52+
with:
53+
build: ${{ matrix.build }}
54+
package_name: LiveScript
55+
package_root: LiveScript
56+
default_packages: ${{ matrix.default_packages }}

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.8

Comments.tmPreferences

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>scope</key>
5+
<string>source.livescript</string>
6+
<key>settings</key>
7+
<dict>
8+
<key>shellVariables</key>
9+
<array>
10+
<dict>
11+
<key>name</key>
12+
<string>TM_COMMENT_START</string>
13+
<key>value</key>
14+
<string># </string>
15+
</dict>
16+
<dict>
17+
<key>name</key>
18+
<string>TM_COMMENT_START_2</string>
19+
<key>value</key>
20+
<string>/*</string>
21+
</dict>
22+
<dict>
23+
<key>name</key>
24+
<string>TM_COMMENT_END_2</string>
25+
<key>value</key>
26+
<string>*/</string>
27+
</dict>
28+
</array>
29+
</dict>
30+
</dict>
31+
</plist>

Compile LiveScript.sublime-build

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"shell_cmd": "lsc -c \"${file}\"",
3+
"selector": "source.livescript",
4+
"variants": [
5+
{
6+
"name": "Run",
7+
"shell_cmd": "lsc \"${file}\""
8+
}
9+
]
10+
}

Fold.tmPreferences

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>scope</key>
5+
<string>source.livescript</string>
6+
<key>settings</key>
7+
<dict>
8+
<key>foldScopes</key>
9+
<array>
10+
<dict>
11+
<key>begin</key>
12+
<string>punctuation.section.parameters.begin</string>
13+
<key>end</key>
14+
<string>punctuation.section.parameters.end</string>
15+
<key>excludeTrailingNewlines</key>
16+
<false/>
17+
</dict>
18+
<dict>
19+
<key>begin</key>
20+
<string>punctuation.section.brackets.begin</string>
21+
<key>end</key>
22+
<string>punctuation.section.brackets.end</string>
23+
<key>excludeTrailingNewlines</key>
24+
<false/>
25+
</dict>
26+
<dict>
27+
<key>begin</key>
28+
<string>punctuation.section.mapping.begin</string>
29+
<key>end</key>
30+
<string>punctuation.section.mapping.end</string>
31+
<key>excludeTrailingNewlines</key>
32+
<false/>
33+
</dict>
34+
<dict>
35+
<key>begin</key>
36+
<string>punctuation.section.sequence.begin</string>
37+
<key>end</key>
38+
<string>punctuation.section.sequence.end</string>
39+
<key>excludeTrailingNewlines</key>
40+
<false/>
41+
</dict>
42+
<dict>
43+
<key>begin</key>
44+
<string>punctuation.section.group.begin</string>
45+
<key>end</key>
46+
<string>punctuation.section.group.end</string>
47+
<key>excludeTrailingNewlines</key>
48+
<false/>
49+
</dict>
50+
<dict>
51+
<key>begin</key>
52+
<string>punctuation.definition.string.begin</string>
53+
<key>end</key>
54+
<string>punctuation.definition.string.end</string>
55+
<key>excludeTrailingNewlines</key>
56+
<false/>
57+
</dict>
58+
</array>
59+
</dict>
60+
</dict>
61+
</plist>

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2026 Sublime Text Packages
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)