bump to 1.1.0 and update readme
This commit is contained in:
parent
967d76d312
commit
95dc33a8c6
16
README.md
16
README.md
|
@ -5,7 +5,10 @@ Minimal Python language server, based on [Jedi][jedi] and [pygls][pygls].
|
||||||
[jedi]: https://jedi.readthedocs.io/en/latest/index.html
|
[jedi]: https://jedi.readthedocs.io/en/latest/index.html
|
||||||
[pygls]: https://pygls.readthedocs.io/en/latest/index.html
|
[pygls]: https://pygls.readthedocs.io/en/latest/index.html
|
||||||
|
|
||||||
Still in development but works on my machine. ✨
|
It works on the subset of versions supported by both Jedi and pygls, so in its
|
||||||
|
current set of dependencies:
|
||||||
|
- Python 3.8 at least
|
||||||
|
- Python 3.12 at most
|
||||||
|
|
||||||
Supported features:
|
Supported features:
|
||||||
|
|
||||||
|
@ -81,10 +84,10 @@ poetry build # build to wheel
|
||||||
General-purpose servers (e.g. pyls, py-lsp) try to do too much and break stuff
|
General-purpose servers (e.g. pyls, py-lsp) try to do too much and break stuff
|
||||||
too often for me. Locking Neovim when I press tab, crashes of all kind,
|
too often for me. Locking Neovim when I press tab, crashes of all kind,
|
||||||
LspRestart failing. Also I like my linting and formatting done by dedicated
|
LspRestart failing. Also I like my linting and formatting done by dedicated
|
||||||
tools such as [nvim-lint][nvim-lint] and [formatter][formatter].
|
tools such as [nvim-lint][nvim-lint] and [Conform][conform].
|
||||||
|
|
||||||
[nvim-lint]: https://github.com/mfussenegger/nvim-lint
|
[nvim-lint]: https://github.com/mfussenegger/nvim-lint
|
||||||
[formatter]: https://github.com/mhartington/formatter.nvim
|
[conform]: https://github.com/stevearc/conform.nvim
|
||||||
|
|
||||||
Other Jedi-based servers (e.g. jedi-language-server) seem to focus on coc-nvim
|
Other Jedi-based servers (e.g. jedi-language-server) seem to focus on coc-nvim
|
||||||
and frequently fail on Neovim's native LSP client for me. I tried to fix
|
and frequently fail on Neovim's native LSP client for me. I tried to fix
|
||||||
|
@ -94,6 +97,13 @@ server to get Python completions? No way. That said, jedi-language-server is a
|
||||||
good project and if you're fine with coc-nvim you should definitely check it
|
good project and if you're fine with coc-nvim you should definitely check it
|
||||||
out. Lots of the code here is ~~stolen~~ inspired from this project.
|
out. Lots of the code here is ~~stolen~~ inspired from this project.
|
||||||
|
|
||||||
|
### Is it usable for me?
|
||||||
|
|
||||||
|
Try it. It was a small project for my own usage but it's been surprisingly
|
||||||
|
reliable over the years now. That said, I do not program in Python
|
||||||
|
professionally since some times now so I do not have the same strict
|
||||||
|
requirements as before regarding to my tools.
|
||||||
|
|
||||||
### Why the name?
|
### Why the name?
|
||||||
|
|
||||||
Take the string “Is this a Star Wars reference?” Language Server, compress it to
|
Take the string “Is this a Star Wars reference?” Language Server, compress it to
|
||||||
|
|
|
@ -35,7 +35,7 @@ from italianswirls.glue import (
|
||||||
get_lsp_locations,
|
get_lsp_locations,
|
||||||
)
|
)
|
||||||
|
|
||||||
LS = LanguageServer("italianswirls", "v1.0.0")
|
LS = LanguageServer("italianswirls", "v1.1.0")
|
||||||
|
|
||||||
|
|
||||||
def get_jedi_script(document: Document) -> Script:
|
def get_jedi_script(document: Document) -> Script:
|
||||||
|
|
Loading…
Reference in a new issue