No description, website, or topics provided.
Python C# C++ Java Shell Objective-C++ Other
deathaxe and wbond [Perl] Small whitespace related improvements (#1644)
* [Perl] Allow any kind of whitespace around accessors

The accessor `::` may be surrounded by spaces and tabs. Not sure whether
someone makes use of tabs in such situations, but it should not fail if
one decides to do so.

HEREDOC indention still accepts normal spaces only at the moment as the
amount of spaces in front of the starting and terminating keyword must be
the same which might be tricky to handle if mixed indention is used.

* [Perl] Remove an isolated regexp flag

Inspired by PR #1640 this commit removes the isolated (?x) from
the `pragma` context.

Even though no related issues were found this style of flag is used
in the `functions` context already. So this change ensures the same
coding style to be used in both contexts.
Latest commit 289782f Jul 9, 2018
Failed to load latest commit information.
ASP [ASP] Fix integration with revised HTML syntax Dec 1, 2017
ActionScript [ActionScript] Add a build system (#1077) Feb 9, 2018
AppleScript [AppleScript] Add Comments.tmPreferences to enable key bindings Apr 27, 2016
Batch File [Batch File] correctly scope variables and terminators in `set /a` Mar 28, 2018
C# [C#] better support for C#7 ValueTuples and deconstructions (#1631) Jun 18, 2018
C++ [C++/ObjC] Fix: UPPER_CASE return types on separate line of function (#… Jul 9, 2018
CSS [CSS] improvements for clip-path polygon (#1649) Jul 9, 2018
Clojure Cleanup .tmPreferences: remove doctype, remove uuid, consistent inden… May 4, 2016
D [D] Change captures: 0: to scope: Feb 8, 2018
Diff [Diff] Don't leak file handles Apr 21, 2017
Erlang [Erlang] Add syntax test file Aug 9, 2017
Git Formats [Git Formats] fix misspelling (asterix → asterisk) (#1617) Jun 18, 2018
Go Merge pull request #1053 from forkeith/go_numbers Nov 8, 2017
Graphviz [Graphviz] use new embed action for embedded HTML and tidy up comments Nov 2, 2017
Groovy [Groovy] Add Jenkinsfile extension (#1594) Jun 18, 2018
HTML [HTML] Fix comment highlighting within script tags (#1585) Jun 18, 2018
Haskell update for Haskell.sublime-syntax' pragma section Mar 10, 2017
Java [Java] use embed instead of unnecessary with_prototype for JavaDoc (#… Jun 18, 2018
JavaScript [JavaScript] Remove isolated regexp flags from variables. (#1640) Jun 18, 2018
LaTeX [C++/Python/ShellScript] Flow control keywords - more specific scopes… Jun 18, 2018
Lisp Add .clisp file extension for 'lisp' syntax Aug 24, 2017
Lua [Lua] Don't cancel completions in lines with 'then' (#1538) May 8, 2018
Makefile [Makefile] add more file_extensions (#1628) Jun 18, 2018
Markdown [Markdown] support HTML tags inside GFM tables (#1627) Jun 18, 2018
Matlab [Matlab] Fix highlight of functions with no return or argument Dec 12, 2017
OCaml [All: tmPreferences] wrap regexs in CDATA where XML entities are used Feb 7, 2017
Objective-C [C++/ObjC] Fix: UPPER_CASE return types on separate line of function (#… Jul 9, 2018
PHP [PHP] More precise php-end-tag scoping (#1562) Jun 18, 2018
Pascal Added tests for comment scopes Aug 19, 2016
Perl [Perl] Small whitespace related improvements (#1644) Jul 9, 2018
Python [Python] Add new built-in and magic funcs for 3.7 (#1643) Jul 9, 2018
R [R] improve some punctuation highlights (#1518) Jun 18, 2018
Rails [Rails] Use new hash syntax for partial snippets (#1360) Feb 8, 2018
Regular Expressions [Regular Expressions] enable toggle block comment support Jan 11, 2018
RestructuredText Add syntax_test file for reStructured Text Oct 23, 2017
Ruby [ruby] need to pop the context earlier to match regex Nov 7, 2017
Rust [Rust] enable Goto Definition for enums, functions, structs etc. (#1622) Jun 18, 2018
SQL [SQL] NULL-safe equal to operator ligature. (#1635) Jul 9, 2018
Scala [Scala] Remove unused meta_scope from xml-comments context Nov 9, 2017
ShellScript [ShellScript] Add .zshrc as a valid extension (#1583) Jul 9, 2018
TCL [TCL] Revamp handling of braces to better follow common usage patterns Feb 12, 2018
Text Cleanup .tmPreferences: remove doctype, remove uuid, consistent inden… May 4, 2016
Textile [Textile] Remove incompatible patterns, add syntax test file Jun 17, 2016
XML [XML] add csproj as a hidden extension Oct 24, 2017
YAML [YAML] Fix comments starting a sequence Aug 24, 2017
.travis.yml Add Travis CI config to run syntax tests Dec 1, 2017
LICENSE Initial import Jun 16, 2015 Improve install instructions for Linux Jun 22, 2016

Sublime Packages

These packages are developed against the latest Sublime Text 3 Dev Build. Bugs may exist on older builds, and the format used is not compatible with builds older than 3092.


If you want to make changes to these packages and test them locally, fork this repository and then symlink the changed packages into your Packages folder.

Replace Python in the following commands with the name of the syntax to install.


$ git clone
$ ln -s `pwd`/Packages/Python ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/


$ git clone
$ ln -s `pwd`/Packages/Python ~/.config/sublime-text-3/Packages/


On Windows, you can use directory junctions instead of symlinks (symlinks require administrative rights; directory junctions don't):

# Using PowerShell
PS> git clone
PS> cmd /c mklink /J "$env:APPDATA/Sublime Text 3/Packages/Python" (convert-path ./Packages/Python)

Alternatively, download the portable version, and clone this repository directly as a subdirectory of the Data folder.

After you've finished, keep in mind that you're now overriding a default package. When Sublime Text updates to a new version, you'll run the risk of having an out-of-date package unless you pull the latest changes from this repository.

Pull Requests

Pull requests should:

  1. Start with the name of the package in square brackets, e.g. [XML].
  2. Be as small and self-contained as is reasonable. Smaller changes are quicker to review.
  3. Include a new, or enhanced, syntax test when changing a .sublime-syntax file.
  4. Have multiple syntax tests and a set of performance measurements (old vs. new) when making significant changes.

New Packages

Pull requests for new packages won't be accepted at this stage, as new packages can cause issues for users who have a package with the same name installed via Package Control. There are some planned changes that will address this in the future.

Complex plugins such as auto complete systems and linters should generally be in a stand-alone package, rather than included in the default set of packages.

Missing Packages

This repository only contains syntax-definition-focused packages. Notably, packages such as Default and Theme - Default are not included.