review comments
This commit is contained in:
parent
e6f01878d7
commit
cc03e77327
2 changed files with 7 additions and 1 deletions
3
demo/kitchen-sink/docs/.gitignore
vendored
3
demo/kitchen-sink/docs/.gitignore
vendored
|
|
@ -4,5 +4,8 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.svn
|
.svn
|
||||||
|
|
||||||
|
# Negated patterns:
|
||||||
|
!foo.bar
|
||||||
|
|
||||||
# Also ignore user settings...
|
# Also ignore user settings...
|
||||||
/.settings
|
/.settings
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,10 @@ var GitignoreHighlightRules = function() {
|
||||||
"start" : [
|
"start" : [
|
||||||
{
|
{
|
||||||
token : "comment",
|
token : "comment",
|
||||||
regex : /[#].*$/
|
regex : /^\s*#.*$/
|
||||||
|
}, {
|
||||||
|
token : "keyword", // negated patterns
|
||||||
|
regex : /^\s*!.*$/
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue