Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit fdde108

Browse files
committed
Merge pull request #2 from 315234/master
Improvements to symbol identification and listing
2 parents e86b29f + 2f64f17 commit fdde108

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

C++11.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@
458458
)
459459
(\s*) (?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate|sizeof|alignof)\s*\()
460460
(
461-
(?: [A-Za-z_]\w*+ | :: | <(\w+,?\s*)++> )++ | # actual name
461+
(?: [~A-Za-z_]\w*+ | :: | <(\w+,?\s*)++> )++ | # actual name
462462
(?: (?<=operator) (?: [-*&<>=+!]+ | \(\) | \[\] ) ) # if it is a C++ operator
463463
)
464464
\s*(?=\()</string>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>scope</key>
5+
<string>source.c++11 meta.function.c++ meta.block.c++ meta.function-call.c++ entity.name.function.c++</string>
6+
<key>settings</key>
7+
<dict>
8+
<key>showInSymbolList</key>
9+
<integer>0</integer>
10+
<key>showInIndexedSymbolList</key>
11+
<integer>0</integer>
12+
</dict>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)