Skip to content

Commit b086d74

Browse files
committed
Update Zsh rule
Fixes #162
1 parent 4a98068 commit b086d74

9 files changed

Lines changed: 82 additions & 25 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
tests:
1515

1616
env:
17-
TOXENV: py38
17+
TOXENV: py13
1818

1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python
24-
uses: actions/setup-python@v1
24+
uses: actions/setup-python@v5
2525
with:
26-
python-version: 3.8
26+
python-version: 3.13
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip setuptools tox
@@ -39,11 +39,11 @@ jobs:
3939
runs-on: ubuntu-latest
4040

4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
4343
- name: Set up Python
44-
uses: actions/setup-python@v1
44+
uses: actions/setup-python@v5
4545
with:
46-
python-version: 3.8
46+
python-version: 3.13
4747
- name: Install dependencies
4848
run: |
4949
python -m pip install --upgrade pip setuptools tox
@@ -59,11 +59,11 @@ jobs:
5959
runs-on: ubuntu-latest
6060

6161
steps:
62-
- uses: actions/checkout@v2
62+
- uses: actions/checkout@v4
6363
- name: Set up Python
64-
uses: actions/setup-python@v1
64+
uses: actions/setup-python@v5
6565
with:
66-
python-version: 3.8
66+
python-version: 3.13
6767
- name: Install dependencies
6868
run: |
6969
python -m pip install --upgrade pip setuptools tox

‎.github/workflows/deploy.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818
- name: Set up Python
19-
uses: actions/setup-python@v1
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.8
21+
python-version: 3.13
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip setuptools

‎ApplySyntax.sublime-settings‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,20 @@
157157
"syntax": "INI/INI",
158158
"extensions": ["ini.dist", ".npmrc"]
159159
},
160+
{
161+
"syntax": [
162+
"ShellScript/Zsh"
163+
],
164+
"extensions": ["zsh"],
165+
"rules": [
166+
{
167+
"globmatch": [
168+
"**/.z@(shrc|shenv|profile|login|logout)*"
169+
]
170+
},
171+
{"interpreter": "zsh"}
172+
]
173+
},
160174
{
161175
"syntax": [
162176
"ShellScript/Bash",

‎CHANGES.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ApplySyntax
22

3+
## 4.3.0
4+
5+
- **NEW**: Update Zsh rules.
6+
37
## 4.2.0
48

59
- **NEW**: Add Dangerfile to Ruby patterns.

‎docs/src/dictionary/en-custom.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ SetSyntax
2020
Sublime's
2121
Twemoji
2222
YAML
23+
Zsh
2324
changelog
2425
deprecations
2526
hashable

‎docs/src/markdown/about/license.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Raw Line Edit is released under the MIT license.
44

55
Copyright (c) phillipkoebbe.
66

7-
Changes: Copyright (c) 2013 - 2022 Isaac Muse <isaacmuse@gmail.com>
7+
Changes: Copyright (c) 2013 - 2025 Isaac Muse <isaacmuse@gmail.com>
88

99
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1010
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the

‎mkdocs.yml‎

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repo_url: https://github.com/facelessuser/ApplySyntax
44
edit_uri: tree/master/docs/src/markdown
55
site_description: Syntax detector for Sublime Text.
66
copyright: |
7-
Copyright &copy; 2013 - 2021 <a href="https://github.com/facelessuser" target="_blank" rel="noopener">Isaac Muse</a>
7+
Copyright &copy; 2013 - 2025 <a href="https://github.com/facelessuser" target="_blank" rel="noopener">Isaac Muse</a>
88
99
docs_dir: docs/src/markdown
1010
theme:
@@ -20,17 +20,29 @@ theme:
2020
text: Roboto
2121
code: Roboto Mono
2222
features:
23+
- announce.dismiss
2324
- navigation.tabs
2425
- navigation.top
26+
- navigation.instant
27+
- navigation.sections
28+
- navigation.indexes
29+
- toc.follow
30+
- content.code.copy
31+
- navigation.footer
32+
- search.share
33+
- search.highlight
34+
- search.suggest
35+
pymdownx:
36+
sponsor: "https://github.com/sponsors/facelessuser"
2537

2638
nav:
2739
- About ApplySyntax: index.md
2840
- Installation: installation.md
2941
- User Guide: usage.md
3042
- About:
31-
- License: about/license.md
3243
- Contributing &amp; Support: about/contributing.md
3344
- Changelog: about/changelog.md
45+
- License: about/license.md
3446

3547
markdown_extensions:
3648
- markdown.extensions.toc:
@@ -60,8 +72,8 @@ markdown_extensions:
6072
- pymdownx.caret:
6173
- pymdownx.smartsymbols:
6274
- pymdownx.emoji:
63-
emoji_index: !!python/name:materialx.emoji.twemoji
64-
emoji_generator: !!python/name:materialx.emoji.to_svg
75+
emoji_index: !!python/name:material.extensions.emoji.twemoji
76+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
6577
- pymdownx.escapeall:
6678
hardbreak: true
6779
nbsp: true
@@ -93,10 +105,42 @@ markdown_extensions:
93105
- example
94106
- quote
95107
- pymdownx.blocks.details:
108+
types:
109+
- name: details-new
110+
class: new
111+
- name: details-settings
112+
class: settings
113+
- name: details-note
114+
class: note
115+
- name: details-abstract
116+
class: abstract
117+
- name: details-info
118+
class: info
119+
- name: details-tip
120+
class: tip
121+
- name: details-success
122+
class: success
123+
- name: details-question
124+
class: question
125+
- name: details-warning
126+
class: warning
127+
- name: details-failure
128+
class: failure
129+
- name: details-danger
130+
class: danger
131+
- name: details-bug
132+
class: bug
133+
- name: details-example
134+
class: example
135+
- name: details-quote
136+
class: quote
96137
- pymdownx.blocks.html:
97138
- pymdownx.blocks.definition:
98139
- pymdownx.blocks.tab:
99140
alternate_style: True
141+
- pymdownx.fancylists:
142+
inject_style: True
143+
- pymdownx.blocks.caption:
100144

101145
extra:
102146
social:

‎readme.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[![Donate via PayPal][donate-image]][donate-link]
2-
[![Discord][discord-image]][discord-link]
3-
[![Build][github-ci-image]][github-ci-link]
42
[![Package Control Downloads][pc-image]][pc-link]
53
![License][license-image]
64
# ApplySyntax
@@ -25,10 +23,6 @@ https://facelessuser.github.io/ApplySyntax/
2523

2624
ApplySyntax is released under the MIT license.
2725

28-
[github-ci-image]: https://github.com/facelessuser/ApplySyntax/workflows/build/badge.svg?branch=master&event=push
29-
[github-ci-link]: https://github.com/facelessuser/ApplySyntax/actions?query=workflow%3Abuild+branch%3Amaster
30-
[discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333
31-
[discord-link]: https://discord.gg/TWs8Tgr
3226
[pc-image]: https://img.shields.io/packagecontrol/dt/ApplySyntax.svg?labelColor=333333&logo=sublime%20text
3327
[pc-link]: https://packagecontrol.io/packages/ApplySyntax
3428
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333

‎tox.ini‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
skipsdist=True
33
envlist =
4-
py35,py36,py37,py38,lint
4+
py39,py310,py311,py312,py313,py314,lint
55

66
[testenv]
77
deps=

0 commit comments

Comments
 (0)