| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
closing in favor of python-lsp/python-lsp-server#134 since this repo is not maintained |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
resolves #328
This PR adds support for LSP formatting options https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#formattingOptions
It adds explicit support for tabSize and insertSpaces, the rest of the options are not configurable in yapf. I did however add support for arbitrary configurations as specified in [key: string]: boolean | integer | string;.
I think this PR might break plugins as the API now passes options to formatter hooks