lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

Symbol List - Selector.tmPreferences (505B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <plist version="1.0">
      3 <dict>
      4 	<key>scope</key>
      5 	<string>source.css meta.selector</string>
      6 	<key>settings</key>
      7 	<dict>
      8 		<key>showInSymbolList</key>
      9 		<integer>1</integer>
     10 		<key>symbolTransformation</key>
     11 		<string>
     12 			s/\/\*.*?\*\///g;		# remove comments
     13 			s/\s+([,)\]}])/$1/g;	# remove whitespace before punctuation
     14 			s/([(\[{])\s+/$1/g;		# remove whitespace after punctuation
     15 			s/\s+/ /g;				# remove multiple whitespace
     16 		</string>
     17 	</dict>
     18 </dict>
     19 </plist>