Skip to content

Commit

Permalink
Fix for Goto Symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore Gentile committed Mar 9, 2014
1 parent 7af7f0f commit 49532a6
Showing 1 changed file with 43 additions and 5 deletions.
48 changes: 43 additions & 5 deletions VimL.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
<key>include</key>
<string>#keyword</string>
</dict>
<dict>
<key>include</key>
<string>#function</string>
</dict>
<dict>
<key>include</key>
<string>#support_function</string>
Expand All @@ -70,6 +66,14 @@
<key>include</key>
<string>#function_definition</string>
</dict>
<dict>
<key>include</key>
<string>#function_call</string>
</dict>
<dict>
<key>include</key>
<string>#function</string>
</dict>
<dict>
<key>include</key>
<string>#variable</string>
Expand Down Expand Up @@ -125,13 +129,47 @@
</dict>
</array>
</dict>
<key>function_call</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(([sgbwtl]|)?:?[0-9a-zA-Z_#]+)(?=\()</string>
<key>name</key>
<string>support.function.any-method</string>
</dict>
</array>
</dict>
<key>function_definition</key>
<dict>
<key>begin</key>
<string>^\s*(function)\s*!?\s+(?=(s:)?[0-9a-zA-Z_#]+\s*\()</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.function.viml</string>
</dict>
</dict>
<key>end</key>
<string>(\()</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.parameters.begin.viml</string>
</dict>
</dict>
<key>name</key>
<string>meta.function.viml</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(([sSgGbBwWtTlL]|)?:?\w+)(?=\()</string>
<string>(s:)?[0-9a-zA-Z_#]+</string>
<key>name</key>
<string>entity.name.function.viml</string>
</dict>
Expand Down

0 comments on commit 49532a6

Please sign in to comment.