9fans / acme-lsp

Language Server Protocol tools for the acme text editor
MIT License
193 stars 25 forks source link

Support for the Python Language Server #48

Open mariusae opened 2 years ago

mariusae commented 2 years ago

PYLS has two quirks: first, it requires that window/showStatus is implemented; second, on formatting it replaces the full text, which causes a bad user experience in acme.

This PR addresses both of these by (1) implementing window/showStatus, and (2) breaking up full-replacement texts into a patch that in turn is converted into fine-grained text edit commands.