Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
29c34723
Commit
29c34723
authored
17 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.1
parent
049377ee
No related branches found
Branches containing commit
Tags
v7.3.591
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/syntax/css.vim
+4
-2
4 additions, 2 deletions
runtime/syntax/css.vim
with
4 additions
and
2 deletions
runtime/syntax/css.vim
+
4
−
2
View file @
29c34723
...
...
@@ -2,7 +2,7 @@
" Language: Cascading Style Sheets
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
" URL: http://www.fleiner.com/vim/syntax/css.vim
" Last Change: 200
5 Nov 23
" Last Change: 200
6 Jun 19
" CSS2 by Nikolai Weibull
" Full CSS2, HTML4 support by Yeti
...
...
@@ -187,13 +187,14 @@ syn keyword cssPseudoClassId contained link visited active hover focus before af
syn
match
cssPseudoClassId contained
"\<first\(-\(line\|letter\|child\)\)\=\>"
syn
region cssPseudoClassLang matchgroup
=
cssPseudoClassId start
=
":lang("
end
=
")"
oneline
syn
region cssComment start
=
"/\*"
end
=
"\*/"
syn
region cssComment start
=
"/\*"
end
=
"\*/"
contains
=
@Spell
syn
match
cssUnicodeEscape
"\\\x\{1,6}\s\?"
syn
match
cssSpecialCharQQ
+
\\"
+
contained
syn
match
cssSpecialCharQ
+
\\'
+
contained
syn
region cssStringQQ start
=+
"+ skip=+\\\\\|\\"
+
end
=+
"
+
contains
=
cssUnicodeEscape
,
cssSpecialCharQQ
syn
region cssStringQ start
=+
'+ skip=+\\\\\|\\'
+
end
=+
'
+
contains
=
cssUnicodeEscape
,
cssSpecialCharQ
syn
match
cssClassName
"\.[A-Za-z][A-Za-z0-9-]\+"
if
main_syntax
==
"css"
syn
sync
minlines
=
10
...
...
@@ -266,6 +267,7 @@ if version >= 508 || !exists("did_css_syn_inits")
HiLink cssFontDescriptorProp StorageClass
HiLink cssFontDescriptorAttr Type
HiLink cssUnicodeRange Constant
HiLink cssClassName Function
delcommand
HiLink
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment