forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scss.ctags
89 lines (86 loc) · 3.98 KB
/
scss.ctags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
## This one is derrived from https://gist.githubusercontent.com/Roy-Orbison/71bc81f488f85adaeacfb76a7967eda0/raw/5eed9f1ef75c0921123651d419b3944a155f438f/scss.ctags
#
# Copyright 2019 Roy-Orbison
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
--langdef=SCSS
--map-SCSS=+.scss
--kinddef-SCSS=m,mixin,mixins
--kinddef-SCSS=f,function,functions
--kinddef-SCSS=v,variable,variables
--kinddef-SCSS=c,class,classes
--kinddef-SCSS=P,placeholder,placeholder classes
--kinddef-SCSS=i,id,identities
# --kinddef-SCSS=p,pseudo,pseudos
--kinddef-SCSS=z,parameter,function parameters
--_tabledef-SCSS=toplevel
--_tabledef-SCSS=comment
--_tabledef-SCSS=interp
--_tabledef-SCSS=args
--_tabledef-SCSS=map
--_tabledef-SCSS=strs
--_tabledef-SCSS=strd
--_mtable-regex-SCSS=toplevel/\/\/[^\n]*\n?//
--_mtable-regex-SCSS=toplevel/\/\*//{tenter=comment}
--_mtable-regex-SCSS=toplevel/#\{//{tenter=interp}
--_mtable-regex-SCSS=toplevel/'///{tenter=strs}
--_mtable-regex-SCSS=toplevel/"///{tenter=strd}
--_mtable-regex-SCSS=toplevel/[ \t]([A-Za-z0-9_-]+)[ \t]*:[^\n]*\n?//
--_mtable-regex-SCSS=toplevel/@mixin[ \t]+([A-Za-z0-9_-]+)/\1/m/{tenter=args}
--_mtable-regex-SCSS=toplevel/@function[ \t]+([A-Za-z0-9_-]+)/\1/f/{tenter=args}
--_mtable-regex-SCSS=toplevel/@each[ \t]+\$([A-Za-z0-9_-]+)[ \t]in[ \t]+/\1/v/
--_mtable-regex-SCSS=toplevel/@for[ \t]+\$([A-Za-z0-9_-]+)[ \t]from[ \t]+.*[ \t]+(to|through)[ \t]+[^{]+/\1/v/
--_mtable-regex-SCSS=toplevel/@[^\n]+\n?//
--_mtable-regex-SCSS=toplevel/:[^{;]+;\n?//
--_mtable-regex-SCSS=toplevel/:[^\n;{]+\n//
# --_mtable-regex-SCSS=toplevel/::?([A-Za-z0-9_-]+)[ \t]*[,({]/\1/p/
--_mtable-regex-SCSS=toplevel/::?([A-Za-z0-9_-]+)[ \t]*[,({]//
--_mtable-regex-SCSS=toplevel/:[^\n{]+[;{]\n?//
--_mtable-regex-SCSS=toplevel/\$([A-Za-z0-9_-]+)[ \t]*:[ \t]*\(/\1/v/{tenter=map}
--_mtable-regex-SCSS=toplevel/\$([A-Za-z0-9_-]+)[ \t]*:[^\n]*\n?/\1/v/
--_mtable-regex-SCSS=toplevel/[.]([A-Za-z0-9_-]+)/\1/c/
--_mtable-regex-SCSS=toplevel/%([A-Za-z0-9_-]+)/\1/P/
--_mtable-regex-SCSS=toplevel/#([A-Za-z0-9_-]+)/\1/i/
--_mtable-regex-SCSS=toplevel/.//
--_mtable-regex-SCSS=comment/\*\///{tleave}
--_mtable-regex-SCSS=comment/.//
--_mtable-regex-SCSS=interp/\}//{tleave}
--_mtable-regex-SCSS=interp/.//
--_mtable-regex-SCSS=args/\{//{tleave}
--_mtable-regex-SCSS=args/#\{//{tenter=interp}
--_mtable-regex-SCSS=args/\$([A-Za-z0-9_-]+)[ \t]*(:([ \t]*\$)?|[,)])/\1/z/
--_mtable-regex-SCSS=args/.//
--_mtable-regex-SCSS=map/\/\/[^\n]*\n?//
--_mtable-regex-SCSS=map/\/\*//{tenter=comment}
--_mtable-regex-SCSS=map/#\{//{tenter=interp}
--_mtable-regex-SCSS=map/\)//{tleave}
--_mtable-regex-SCSS=map/([A-Za-z0-9_-]+)[ \t]*:/\1/v/
--_mtable-regex-SCSS=map/'///{tenter=strs}
--_mtable-regex-SCSS=map/"///{tenter=strd}
--_mtable-regex-SCSS=map/.//
--_mtable-regex-SCSS=strs/'///{tleave}
--_mtable-regex-SCSS=strs/#\{//{tenter=interp}
--_mtable-regex-SCSS=strs/[^'#\\]+//
--_mtable-regex-SCSS=strs/\\?.//
--_mtable-regex-SCSS=strd/"///{tleave}
--_mtable-regex-SCSS=strd/#\{//{tenter=interp}
--_mtable-regex-SCSS=strd/[^"#\\]+//
--_mtable-regex-SCSS=strd/\\?.//