We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c853c2a commit 177ae9bCopy full SHA for 177ae9b
plugin/core/types.py
@@ -912,18 +912,6 @@ def __eq__(self, other: Any) -> bool:
912
return True
913
914
915
-def syntax2scope(syntax_path: str) -> str | None:
916
- syntax = sublime.syntax_from_path(syntax_path)
917
- return syntax.scope if syntax else None
918
-
919
920
-def view2scope(view: sublime.View) -> str:
921
- try:
922
- return view.scope_name(0).split()[0]
923
- except IndexError:
924
- return ''
925
926
927
def _read_selector(config: sublime.Settings | dict[str, Any]) -> str:
928
# Best base scenario,
929
selector = config.get("selector")
0 commit comments