Skip to content

Instantly share code, notes, and snippets.

@zachhale
Created June 6, 2010 17:21
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 zachhale/427727 to your computer and use it in GitHub Desktop.
Save zachhale/427727 to your computer and use it in GitHub Desktop.
{ scopeName = 'source';
patterns = (
{ name = 'source.invalid.trailing-whitespace';
match = '((?<=[^\s\t])[\t\s]*)$';
captures = { 1 = { name = 'invalid.trailing-whitespace'; }; };
},
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment