![]() ![]() Each context has a list of patterns that describe how to highlight text. First, you have to remove the section of the code which throws all of the syntax highlighting off as soon as a \comment. Sublime Syntax files are YAML files with a small header, followed by a list of contexts. Once you have opened the LaTeX.sublime-syntax file, there are two changes to make. Open Sublime Text Go to Preferences > Browse Packages Drag and drop the two files you downloaded, CS.JSON-tmLanguage and CS.tmLanguage, into that folder. This is a 'package' - the name sublime uses for its user-made extensions - that aims to bolster your productivity while coding in ck2script. Then you can use the Open Resource tool to find the file, which should be in the LaTeX folder. Now, if you haven't heard of Sublime Text 3, it's an awesome, fast and 'moddable' text editor, that can be used for free for as long as you want. The easiest way is to use PackageResourceViewer, which can be installed with Package Control. The syntax highlighting is controlled by the LaTeX.sublime-syntax file, so to modify how the highlighting behaves, the first thing to do is to access this file. However, I found your problem interesting, and after some research I found a solution that seems to work for me. sublime-syntax file, so it's rather probable that I made some beginner mistake or that my solution is not optimal. First of all, I think I should say that this is the first time that I code something in a. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |