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