Refactoring: Rename Language to LanguageServerId

This resolves a long-standing naming issue in Serena & SolidLSP.
This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-07-22 20:55:36 +02:00
1 parent ef0e218fb1
commit d2cf18ddcb
180 files changed
+1806 -1767

No files matched your search

+2 -2
View File
@@ -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):