Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
41159877
Commit
41159877
authored
Jan 27, 2014
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got permission from Gustaf for userdiff patterns
parent
7cc001ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
git.git-authors
+1
-0
src/userdiff.h
+4
-0
No files found.
git.git-authors
View file @
41159877
...
...
@@ -49,6 +49,7 @@ ok Brian Gernhardt <benji@silverinsanity.com>
ok Christian Couder <chriscool@tuxfamily.org>
ok Daniel Barkalow <barkalow@iabervon.org>
ok Florian Forster <octo@verplant.org>
ok Gustaf Hendeby <hendeby@isy.liu.se>
ok Holger Weiss <holger@zedat.fu-berlin.de>
ok Jeff King <peff@peff.net>
ok Johannes Schindelin <Johannes.Schindelin@gmx.de>
...
...
src/userdiff.h
View file @
41159877
...
...
@@ -80,6 +80,10 @@ PATTERNS("java",
"|[-+*/<>%&^|=!]="
"|--|
\\
+
\\
+|<<=?|>>>?=?|&&|
\\
|
\\
|"
),
PATTERNS
(
"matlab"
,
"^[[:space:]]*((classdef|function)[[:space:]].*)$|^%%[[:space:]].*$"
,
"[a-zA-Z_][a-zA-Z0-9_]*|[-+0-9.e]+|[=~<>]=|
\\
.[*/
\\
^']|
\\
|
\\
||&&"
),
PATTERNS
(
"objc"
,
/* Negate C statements that can look like functions */
"!^[
\t
]*(do|for|if|else|return|switch|while)
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment