How to set up a Local and Global Symbols list?
These mime are not working. When I do this only the <string>Symbol List Global</string>
shows up:
<?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>name</key>
<string>Symbol List Global</string>
<key>scope</key>
<string>(source.AmxxPawn) & (function.definition | variable.definition)</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>showInIndexedSymbolList</key>
<integer>1</integer>
</dict>
</dict>
<dict>
<key>name</key>
<string>Symbol List Local</string>
<key>scope</key>
<string>(source.AmxxPawn) & (variable.local.definition | parameter.definition)</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
</dict>
</dict>
</plist>
It is working only when I set up everything as global:
<?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>name</key>
<string>Symbol List Global</string>
<key>scope</key>
<string>(source.AmxxPawn) & (function.definition | variable.definition | variable.local.definition | parameter.definition)</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>showInIndexedSymbolList</key>
<integer>1</integer>
</dict>
</dict>
</plist>