Hello. For my Python completions I have the following:
if not view.match_selector(locations[0], ‘source.python -string -comment -constant’):
return ]
but the completions still appear within # comment lines, which have scope “source.python comment.line.number-sign.python”. What is the correct syntax for my selector statement please?