Skip to content

Instantly share code, notes, and snippets.

@afenix
Created July 16, 2015 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afenix/d1deeba4e53810314833 to your computer and use it in GitHub Desktop.
Save afenix/d1deeba4e53810314833 to your computer and use it in GitHub Desktop.
Highlight non-ascii characters by extending Sublime Highlighter Package
// First install the Sublime Text 2/3 package named Highlighter
// then update the user settings here: highlighter.sublime-settings -User
{
"highlighter_enabled": true,
"highlighter_regex": "(\t+ +(?![*]))|( +\t+)|[^\\x00-\\x7F]|[\u2026\u2018\u2019\u201c\u201d\u2013\u2014]|[\t ]+$",
"highlighter_scope_name": "invalid",
"highlighter_scope_name_cool": "constant.character.entity.html",
"highlighter_max_file_size": 1048576,
"highlighter_delay": 3000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment