Skip to content

pradoz/sneklsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Sneklsp is a neovim focused LSP for Python development

Setup

This project is experimental and official package support is not available

  1. Build the project
cargo build --release
  1. Enable the parser in init.lua or after/plugin/lsp.lua
vim.lsp.enable('sneklsp')
  1. 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',
    },
}

Running benchmarks

cargo bench --workspace            # runs all benchmarks
cargo bench -p sneklsp_parser      # runs parser benchmarks
cargo bench -p sneklsp_tokenizer   # runs tokenizer benchmarks

About

Sneklang (Python) LSP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published