nph
nph copied to clipboard
formating long routine definitions breaks folding
formating this:
proc getWorkspaceConfiguration*(ls: LanguageServer): Future[NlsConfig] {.async: (raises: []).} =
results in this:
proc getWorkspaceConfiguration*(
ls: LanguageServer
): Future[NlsConfig] {.async: (raises: []).} =
The closing parens breaks indentations and consequently folding the body of the routine:
for reference:
Sounds like something to report to the editor, rather than nph?