diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-10-27 23:09:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-27 23:09:46 +0100 |
commit | 2810828d7cc3b215f3e97ec2acba8d5783b7369d (patch) | |
tree | 50cf16ae97bcf70118b139bf6b90e13f08de7f57 /userdiff.c | |
parent | Merge branch 'rk/completion-stash' (diff) | |
parent | userdiff: expand detected chunk headers for css (diff) | |
download | git-2810828d7cc3b215f3e97ec2acba8d5783b7369d.tar.xz git-2810828d7cc3b215f3e97ec2acba8d5783b7369d.zip |
Merge branch 'sd/userdiff-css-update'
Userdiff for CSS update.
* sd/userdiff-css-update:
userdiff: expand detected chunk headers for css
Diffstat (limited to 'userdiff.c')
-rw-r--r-- | userdiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userdiff.c b/userdiff.c index df85f0b8c5..9c63be9fb8 100644 --- a/userdiff.c +++ b/userdiff.c @@ -200,7 +200,7 @@ PATTERNS("csharp", "|[-+*/<>%&^|=!]=|--|\\+\\+|<<=?|>>=?|&&|\\|\\||::|->"), IPATTERN("css", "![:;][[:space:]]*$\n" - "^[_a-z0-9].*$", + "^[:[@.#]?[_a-z0-9].*$", /* -- */ /* * This regex comes from W3C CSS specs. Should theoretically also |