Comments (8)
Thanks @michaelblyons for fixing the title. Now that I know which package is the problem I think I know how to fix it and I'm happy to create a PR. I followed the README instructions to create a directory junction on Windows, but it doesn't seem like my changes are being reflected in Sublime. Is it enough to restart the program or I need to force reloading the packages somehow?
from packages.
LaTeX is excluded from being highlighted in fenced codeblocks by intent, as it also supports fenced code-block like expressions, which used to easily cause maximum allowed complexity to be exceeded due to including foreign syntaxes.
It shouldn't be an issue anymore, now that ST loads embed
ded syntaxes lazily.
from packages.
Could you clarify? By "it shouldn't be an issue anymore", do you mean that it no longer needs to be excluded?
from packages.
Exactly.
from packages.
Great! So should I just prepare a PR with the fix?
In that case I would appreciate a quick advice on how to get changes to the package to take effect. A simple Sublime restart doesn't seem to do the trick. I followed the relevant instructions in the README to create a directory junction.
(I tried a simple test of removing the Python highlighting definitions which still worked after restart)
from packages.
Deleting the file just means the default one is used. You could keep the Python file there and empty out its main
context of the matches and includes.
from packages.
Yes, that's what I meant. I removed the Python part of Markdown\Code Block Syntaxes.sublime-completions
file and I still got highlighting for Python blocks, meaning the changes didn't take effect. I'm wondering if it's enough to just restart Sublime Text or there is some sort of cache I need to clear.
from packages.
Creating a junction Markdown
in Packages folder is enough. All files in that directory override default package. Removing completions (Code Block Syntaxes.sublime-completions) doesn't affect syntax definitions.
from packages.
Related Issues (20)
- [TypeScript] `!.` is incorrectly scoped as `punctuation.accessor` HOT 1
- [Markdown] Add support for GFM alert blocks HOT 1
- [D] Add support for shortened function syntax
- [Godot] Add syntax highlighting support for Godot's languages HOT 3
- [CSS] Relaxed Nesting Support
- [C] Cannot goto functions defined after a very long function. HOT 1
- Python Highlighting - `type` is matched too aggressively as a keyword HOT 3
- [Javascript] TSX Highlighting Problem When Using Ternary and Template Literal HOT 3
- [Rust] Macro improperly marked as invalid HOT 3
- [Batch File] Multiline comments HOT 6
- [Go] Coloring for or (|) bitwise operation following bracket
- [C#] using declaration with parentheses
- [Rust] Function call with with turbofish annotation missing scope
- [Swift] Initial support HOT 7
- [C] Add more scopes for variable assignment HOT 1
- [Ruby] def end syntax pairing highlight gets confused by =begin =end comment pairs HOT 1
- [C#] Primary constructor
- [C#] required field
- [CSS] Different color for inheritable properties HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packages.