Skip to content

Commit bad7ec8

Browse files
committed
Import syntax packages from https://github.com/sublimehq/Packages#v4050
2 parents 31c7078 + 3616d6c commit bad7ec8

File tree

1,321 files changed

+133080
-0
lines changed

Some content is hidden

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

1,321 files changed

+133080
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Syntax Highlighting problem
3+
about: Create a bug report for mis-highlighted code in one of the default languages.
4+
5+
---
6+
7+
<!--
8+
Please search existing issues to avoid creating duplicates. Also, if you
9+
are able, follow the directions at https://github.com/sublimehq/Packages#installation
10+
to check the latest version of this language highlighting.
11+
12+
If the problem persists, please begin the issue title with the language in
13+
square brackets, e.g. "[XML] Tags with underscores"
14+
-->
15+
16+
- Sublime Version:
17+
- OS Version:
18+
19+
<!-- Replace 'lang' below with the GitHub language identifier for your problem (e.g. 'html' or 'java') -->
20+
21+
``` lang
22+
# Minimum code snippet to demonstrate the issue
23+
```
24+
25+
<!-- If you believe it is helpful, include a screenshot of the code in your Sublime Text window. -->
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Go to Symbol problem
3+
about: Create a bug report for file indexing in one of the default languages.
4+
5+
---
6+
7+
<!--
8+
Please search existing issues to avoid creating duplicates. Also, if you
9+
are able, follow the directions at https://github.com/sublimehq/Packages#installation
10+
to check the latest version of this language's behavior.
11+
12+
If the problem persists, please begin the issue title with the language in
13+
square brackets, e.g. "[Java] Can't go-to-symbol on classes"
14+
-->
15+
16+
- Sublime Version:
17+
- OS Version:
18+
19+
## Expected behavior
20+
21+
## Actual behavior
22+
23+
## Steps to reproduce
24+
25+
1.
26+
2.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Snippet, Completion, Indentation, or Build problem
3+
about: Suggest improvements for one of the default language support files.
4+
5+
---
6+
7+
<!--
8+
Please search existing issues to avoid creating duplicates. Also, if you
9+
are able, follow the directions at https://github.com/sublimehq/Packages#installation
10+
to check the latest version of this language highlighting.
11+
12+
If the problem persists, please begin the issue title with the language in
13+
square brackets, e.g. "[PHP] Snippet for echo includes the wrong tab stops"
14+
-->
15+
16+
- Sublime Version:
17+
- OS Version:
18+
19+
## Expected behavior
20+
21+
## Actual behavior
22+
23+
## Steps to reproduce
24+
25+
1.
26+
2.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Small update to Syntax definition
3+
about: I have made easily-reviewable changes to a `.sublime-syntax` file.
4+
title: [PackageName] update_summary
5+
6+
---
7+
8+
- [ ] My commit messages start with the package name in square brackets, e.g. `[XML]`.
9+
- [ ] I have included new or enhanced [syntax tests][] to cover the changes.
10+
11+
[syntax tests]: https://www.sublimetext.com/docs/3/syntax.html#testing
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Large update to Syntax definition
3+
about: I have made significant changes to a `.sublime-syntax` file.
4+
title: [PackageName] update_summary
5+
6+
---
7+
8+
- [ ] My commit messages start with the package name in square brackets, e.g. `[XML]`.
9+
- [ ] I have included new or enhanced [syntax tests][] to cover the changes.
10+
- [ ] I have included a performance comparison below:
11+
12+
13+
## Performance
14+
<!--
15+
Run "Tools > Build With... > Syntax Tests - Performance" and put the
16+
relevant output in the blocks below, both with and without your changes.
17+
-->
18+
19+
### Before changes
20+
21+
```
22+
Syntax "Packages/PackageName/lang.sublime-syntax" took an average of 10.0ms over 10 runs
23+
Syntax "Packages/PackageName/lang-types.sublime-syntax" took an average of 2.0ms over 10 runs
24+
```
25+
26+
### After changes
27+
28+
```
29+
Syntax "Packages/PackageName/lang.sublime-syntax" took an average of 10.2ms over 10 runs
30+
Syntax "Packages/PackageName/lang-types.sublime-syntax" took an average of 2.0ms over 10 runs
31+
```
32+
33+
[syntax tests]: https://www.sublimetext.com/docs/3/syntax.html#testing
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Update to supporting files
3+
about: My changes do not include any `.sublime-syntax` file.
4+
title: [PackageName] update_summary
5+
6+
---
7+
8+
- [ ] My commit messages start with the package name in square brackets, e.g. `[XML]`.

assets/syntaxes/Packages/.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
sudo: false
2+
language: c
3+
branches:
4+
except:
5+
- /^v[0-9]{4}$/
6+
install:
7+
- wget --content-disposition https://download.sublimetext.com/latest/dev/linux/x64/syntax_tests
8+
- tar xf "$(ls st3_syntax_tests_build_*_x64.tar.bz2)"
9+
- mv st3_syntax_tests/syntax_tests ./
10+
- rm -R st3_syntax_tests*
11+
before_script:
12+
- mkdir -p Data/Packages/
13+
- find . -maxdepth 1 -mindepth 1 -type d -not -name 'Data' -exec mv '{}' Data/Packages/ \;
14+
script:
15+
- ./syntax_tests

0 commit comments

Comments
 (0)