session.open_uri_async does only focus the view if a range is passed. open_file has the same issue. I think there is also some inconsistency in the implementation of open_uri_async: If the uri does not start with file: then the view is focused as I would expect.
Originally posted by @LDAP in sublimelsp/repository#71 (comment)