Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #30 from abusalimov/symbol-index-preferences
Browse files Browse the repository at this point in the history
Symbol index preferences
  • Loading branch information
abusalimov committed Jan 29, 2016
2 parents 6690f9b + 864696d commit 58b2316
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Symbol Index (function declaration).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - function declaration/g;
s/^.*$/ ⒡  $0 \( \) ; — function declaration/g;
</string>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Symbol Index (function).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - function/g;
s/^.*$/—Ⓕ– $0 \( \) { … } — function/g;
</string>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Symbol Index (macro function).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - macro function/g;
s/^.*$/—Ⓜ– $0 \( \) … — macro function/g;
</string>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Symbol Index (macro object).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - macro object/g;
s/^.*$/ Ⓜ  $0 … — macro object/g;
</string>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Symbol Index (type declaration).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - type declaration/g;
s/^.*$/ ⒞  $0 ; — type declaration/g;
</string>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Symbol Index (type).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - type/g;
s/^.*$/—Ⓒ– $0 { … } ; — type/g;
</string>
</dict>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Symbol Index (typedef).tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^.*$/$0 - typedef/g;
s/^.*$/ Ⓣ  $0 ; — typedef/g;
</string>
</dict>
</dict>
Expand Down
22 changes: 22 additions & 0 deletions Symbol Index - TOC - Banner.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.c meta.toc-list.banner - punctuation.whitespace.newline</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>0</string>
<key>showInSymbolList</key>
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^=+\s*(.*?)\s*=+\s*\\?\s*$\n?/$1/mg;
s/^.*$/=== $0 ========================================================/g;
s/=  =/= ===/g;
s/^(.{0,80}).*?$/$1/g;
</string>
</dict>
</dict>
</plist>
22 changes: 22 additions & 0 deletions Symbol Index - TOC - Pragma Mark.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.c meta.toc-list.pragma-mark - punctuation.whitespace.newline</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>0</string>
<key>showInSymbolList</key>
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^(.*?)\s*\\?\s*$\n?/$1/mg;
s/^.*$/### $0 ########################################################/g;
s/#  #/# ###/g;
s/^(.{0,80}).*?$/$1/g;
</string>
</dict>
</dict>
</plist>
19 changes: 19 additions & 0 deletions Symbol Index - Task Tags - High priority.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.c meta.toc-list.task-tag.prio-high - punctuation.whitespace.newline</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>0</string>
<key>showInSymbolList</key>
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^(.*?)[\s\\]*$/ ǃǃ✔  $1/g;
</string>
</dict>
</dict>
</plist>
19 changes: 19 additions & 0 deletions Symbol Index - Task Tags - Low priority.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.c meta.toc-list.task-tag.prio-low - punctuation.whitespace.newline</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>0</string>
<key>showInSymbolList</key>
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^(.*?)[\s\\]*$/  ✅  $1/g;
</string>
</dict>
</dict>
</plist>
19 changes: 19 additions & 0 deletions Symbol Index - Task Tags - Normal priority.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.c meta.toc-list.task-tag.prio-normal - punctuation.whitespace.newline</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>0</string>
<key>showInSymbolList</key>
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^(.*?)[\s\\]*$/  ✔  $1/g;
</string>
</dict>
</dict>
</plist>
19 changes: 19 additions & 0 deletions Symbol Index - Task Tags.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.c meta.toc-list.task-tag - punctuation.whitespace.newline</string>
<key>settings</key>
<dict>
<key>showInIndexedSymbolList</key>
<string>0</string>
<key>showInSymbolList</key>
<string>1</string>
<key>symbolTransformation</key>
<string>
s/^(.*?)[\s\\]*$/  ✎  $1/g;
</string>
</dict>
</dict>
</plist>

0 comments on commit 58b2316

Please sign in to comment.