Limited snippet list to the current or global scopes based on editor grammer
fix conflicts
Merge branch 'lukexor-grammer_scope'