scalameta / metals-sublime

Sublime Text package for Metals, a language server for Scala
https://packagecontrol.io/packages/LSP-metals
Apache License 2.0
16 stars 10 forks source link

Default to new LanguageConfig #21

Closed ayoub-benali closed 4 years ago

ayoub-benali commented 4 years ago

LSP package will change the LanguageConfig API for ST4, this PR will allow users to try ST4 with LSP's st4000-exploration branch and will make this package ready for when that branch will be merged in master

fix https://github.com/scalameta/metals-sublime/issues/13

Thanks @rwols

rwols commented 4 years ago

TLDR: In ST3 it's not possible to start an event listener based solely on the neat scope selector. In ST4 this has become possible.

Doing things selector-based is much better as people don't have to write out their exact syntax filepath they're using (in this case: "Packages/Scala/Scala.sublime-syntax")