Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
5 changes: 3 additions & 2 deletions .pyspelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ matrix:
- title
- alt
ignores:
- ':is(code, pre, a.magiclink, span.keys)'
- ':is(.MathJax_Preview, .md-nav__link, .md-footer-custom-text, .md-source__repository, .headerlink, .md-icon)'
- 'code, pre, a.magiclink, span.keys'
- '.MathJax_Preview, .md-nav__link, .md-footer-custom-text, .md-source__repository, .headerlink, .md-icon'
- '.md-footer-social__link'
- pyspelling.filters.url:

- name: markdown
Expand Down
3 changes: 3 additions & 0 deletions ApplySyntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,9 @@ def set_syntax(self, name):
names = name

for n in names:
if not n:
continue

path = os.path.dirname(n)
if not path:
continue
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ApplySyntax

## 3.0.1

- **FIX**: Avoid evaluating path if it is None.

## 3.0.0

- **NEW**: Remove deprecations.
Expand Down
2 changes: 1 addition & 1 deletion support.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import webbrowser
import re

__version__ = "3.0.0"
__version__ = "3.0.1"
__pc_name__ = 'ApplySyntax'

CSS = '''
Expand Down