mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 16:18:03 +00:00
Improve documentation (particularly on configuration) and the issue template
This commit is contained in:
1 parent
7c1cc2ad0e
commit
1c17d61121
6 files changed
+116
-57
No files matched your search
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
Prints the list of supported languages, for use in the project.yml template
|
||||
"""
|
||||
|
||||
from solidlsp.ls_config import Language
|
||||
|
||||
if __name__ == "__main__":
|
||||
lang_strings = sorted([l.value for l in Language])
|
||||
max_len = max(len(s) for s in lang_strings)
|
||||
fmt = f"%-{max_len+2}s"
|
||||
for i, l in enumerate(lang_strings):
|
||||
if i % 5 == 0:
|
||||
print("\n# ", end="")
|
||||
print(" " + fmt % l, end="")
|
||||
Reference in new issue
Block a user