Skip to content

Commit

Permalink
Fix plain text fallback (#99)
Browse files Browse the repository at this point in the history
Fixes #98
  • Loading branch information
facelessuser authored Aug 15, 2020
1 parent 7535095 commit 8b9dc33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.7.4

- **FIX**: Fix plain text syntax highlighting not always being applied correctly as the fallback.
- **FIX**: Add `JSON/JSON` to highlight mapping.

## 3.7.3

- **FIX**: Fix issue acquiring font styles like `bold` etc. on latter Sublime builds.
Expand Down
2 changes: 1 addition & 1 deletion st3/mdpopups/st_code_highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def set_view(self, src, lang):
# Default to plain text
for ext in ST_LANGUAGES:
# Just in case text one day switches to 'sublime-syntax'
sytnax_file = 'Packages/Plain text%s' % ext
sytnax_file = 'Packages/Text/Plain text%s' % ext
try:
sublime.load_binary_resource(sytnax_file)
except Exception:
Expand Down
2 changes: 1 addition & 1 deletion st3/mdpopups/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Version."""

_version_info = (3, 7, 3)
_version_info = (3, 7, 4)
__version__ = '.'.join([str(x) for x in _version_info])


Expand Down

0 comments on commit 8b9dc33

Please # to comment.