yaworsw / Sublime-ScopeAlways

Adds a command which displays the current scope in the status bar at all times
MIT License
12 stars 4 forks source link

Fix error when selection is empty. #5

Open Thom1729 opened 3 years ago

Thom1729 commented 3 years ago

When the view has no selection, ScopeAlways raises an error in the console. (This is happening for me upon launch, apparently as the indirect result of something LSP is doing.) This PR fixes that.

Thom1729 commented 3 years ago

@yaworsw ping.