To prevent the symbols list from including the names of functions in raw code that you insert into your documents (.typ files, in this case), you need to create a file called User/noRawSymbols.tmPreferences with the scope of those raw text sections explicitly excluded:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Suppress symbols inside Typst raw blocks</string>
<key>scope</key>
<string>text.typst markup.raw</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>0</integer>
<key>showInIndexedSymbolList</key>
<integer>0</integer>
</dict>
</dict>
</plist>