The current wordPattern https://github.com/Quodatum/vscode-basex/blob/2b7711d6285625e1fe8cd03775f365f1414fd42a/languages/xquery/xquery.json#L26 does not allow "-" in names. I can not recall where it came from. Need review.
The current wordPattern
vscode-basex/languages/xquery/xquery.json
Line 26 in 2b7711d
Need review.