mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 00:16:57 +00:00
Refactoring: Rename Language to LanguageServerId
This resolves a long-standing naming issue in Serena & SolidLSP.
This commit is contained in:
1 parent
ef0e218fb1
commit
d2cf18ddcb
180 files changed
+1806
-1767
No files matched your search
@@ -2,10 +2,10 @@
|
||||
Prints the list of supported languages, for use in the project.yml template
|
||||
"""
|
||||
|
||||
from solidlsp.ls_config import Language
|
||||
from solidlsp.ls_config import LanguageServerId
|
||||
|
||||
if __name__ == "__main__":
|
||||
lang_strings = sorted([l.value for l in Language])
|
||||
lang_strings = sorted([l.value for l in LanguageServerId])
|
||||
max_len = max(len(s) for s in lang_strings)
|
||||
fmt = f"%-{max_len + 2}s"
|
||||
for i, l in enumerate(lang_strings):
|
||||
|
||||
Reference in new issue
Block a user