pylyzer
mason.nvim
pylyzer | mason.nvim | |
---|---|---|
13 | 108 | |
2,006 | 6,907 | |
- | - | |
7.5 | 7.7 | |
11 days ago | 2 days ago | |
Rust | Lua | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pylyzer
- Pylyzer – A fast static code analyzer and language server for Python
-
Mypy 1.6 Released
There's pylyzer[0], but it's in the early stages.
[0] https://github.com/mtshiba/pylyzer
-
Ruff v0.1.0
I’ve just found out pylyzer https://github.com/mtshiba/pylyzer
Not sure how good it is.
-
How do you enable semantic highlighting for Python?
That explains why I didn't see textDocument/semanticTokens/full or anything like it in pyright's code. Do you happen to know of any Python LSP that has semantic tokens? pylsp, pyright, and jedi-language-server all don't have it. The only one I could find that might support it is https://github.com/mtshiba/pylyzer but I haven't tried that LSP yet
-
FastAPI 0.100.0:Release Notes
You might want to check Pylyzer then (https://github.com/mtshiba/pylyzer).
I'm not involved at all. It is still very very early in development. But as it is in the same vein, I thought I'd mentioned it here.
-
Python development in a restricted environment
I don't need a lot. Something like "go to definition" and "show docstring" would go a long way, "signature help" would be nice... I'd take a nice completion, but that would just be a cherry on top. Any low-effort ways to achieve this? I've found https://github.com/mtshiba/pylyzer which looked really nice (and I could just download the right binary), but it has another programming language as a dependency, which is kind of intimidating...
- [Neovim] Pylyser python lsp
-
Astral: Next-gen Python tooling
Perhaps pylyzer can deliver. https://github.com/mtshiba/pylyzer
- Ask HN: Is there a Ruff for Python static type checking?
- Pylyser python lsp
mason.nvim
- I can't stand using VSCode so I wrote my own (it wasn't easy)
-
Using a venv with Neovim's Python LSP
I recently started coding with Neovim using kickstart.nvim as the template for my editor configuration. I downloaded the python-lsp-server package using Mason, but I was disappointed to discover that the IntelliSense on my third party dependencies didn't work. The LSP was resolving to my global Python installation, which did not have the packages from my virtual environment (venv) installed.
-
Do I need NeoVIM?
https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.
-
Do I need a plugin manager ?
I'm using mason.nvim to install my dependencies, I've this snippet at nvim/plugin/mason.lua so after cloning my dotfiles I can just run:
-
Mason can't install gopls (or gofumpt, or goimports)
The suggestion from this thread fixed it for me. I just needed to unset GOOS and GOARCH then restart neovim.
-
Neovim documentation is pretty bad
For instance, I'm trying to install rust-analyzer in lazyvim from https://github.com/williamboman/mason.nvim. The installation instructions are:
- LazyVim
-
How do you enable semantic highlighting for Python?
I have pyright installed via mason which apparently support "semantic token highlighting" but have been having a hard time getting these colors to show up in a buffer. It seems Neovim has changed how it handles semantic highlighting a few times so there's still some conflicting information online. It's hard to know what's current and what's not. Any help would be greatly appreciated.
-
language server not installed or missing from path
Use mason to install the language servers you want.
-
Why is nobody using CoC anymore?
Because null-ls.nvim & mason.nvim together do everything I wanted CoC for
What are some alternatives?
python-lsp-ruff - Linter plugin for pylsp based on ruff.
lazy-lsp.nvim - Neovim plugin to auto install LSP servers
pyright-inlay-hints - Static Type Checker for Python
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nvim-lspconfig - Quickstart configs for Nvim LSP
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
fastapi-router-controller - A FastAPI utility to allow Controller Class usage
omnisharp-vim - Vim omnicompletion (intellisense) and more for C#
ruff - An extremely fast Python linter and code formatter, written in Rust.
formatter.nvim
pyright - Static Type Checker for Python
neoformat - :sparkles: A (Neo)vim plugin for formatting code.