Remove unused `util.canonical_filename` fn
@@ -92,13 +92,6 @@ def short_canonical_filename(view):
)
-def canonical_filename(view):
- return (
- os.path.basename(view.file_name()) if view.file_name()
- else '<untitled {}>'.format(view.buffer_id())
- )
-
-
def get_filename(view):
# type: (sublime.View) -> str
return view.file_name() or '<untitled {}>'.format(view.buffer_id())
