blob: 502dd0ecd4b8fcc4072886708a8bb489d92699bb (
plain)
1
2
3
4
5
6
7
8
9
|
Prism.languages.git = {
comment: /^#.*/m,
deleted: /^[-–].*/m,
inserted: /^\+.*/m,
string: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
command: { pattern: /^.*\$ git .*$/m, inside: { parameter: /\s--?\w+/ } },
coord: /^@@.*@@$/m,
'commit-sha1': /^commit \w{40}$/m,
};
|