review comments

This commit is contained in:
Devon Carew 2014-07-07 08:17:25 -07:00
commit cc03e77327
2 changed files with 7 additions and 1 deletions

View file

@ -4,5 +4,8 @@
.DS_Store
.svn
# Negated patterns:
!foo.bar
# Also ignore user settings...
/.settings

View file

@ -9,7 +9,10 @@ var GitignoreHighlightRules = function() {
"start" : [
{
token : "comment",
regex : /[#].*$/
regex : /^\s*#.*$/
}, {
token : "keyword", // negated patterns
regex : /^\s*!.*$/
}
]
};