Fix comment keys not being highlighted in global scope

Addresses regression from 7bca4eb0a7ef72dd65b0a8bac05b4a5a7aef9f39
Extract relevant members if import * statements for setup.py

`from ... import *` syntax is not allowed in function scope and results in an
exception when starting ST.
Fixes regression introduced by 1028460d7efa637a97243a2d19fa547364a5d1aa.