Sneklsp is a neovim focused LSP for Python development
This project is experimental and official package support is not available
- Build the project
cargo build --release- Enable the parser in init.lua or after/plugin/lsp.lua
vim.lsp.enable('sneklsp')- Create a ~/.config/nvim/lsp/sneklsp.lua
---@type vim.lsp.Config
return {
cmd = { '/absolute/path/to/target/release/sneklsp', 'lsp' },
filetypes = { 'python' },
root_markers = {
'pyproject.toml',
'setup.py',
'setup.cfg',
'requirements.txt',
'.git',
},
}cargo bench --workspace # runs all benchmarks
cargo bench -p sneklsp_parser # runs parser benchmarks
cargo bench -p sneklsp_tokenizer # runs tokenizer benchmarks