cargotomllsp

Crates.iocargotomllsp
lib.rscargotomllsp
version0.1.1
created_at2024-01-28 19:52:18.352874+00
updated_at2024-01-28 21:33:54.911273+00
descriptionA LSP server for Cargo.toml files
homepage
repositoryhttps://github.com/BlankTiger/cargotomllsp
max_upload_size
id1117815
size52,474
Maciej Urban (BlankTiger)

documentation

README

cargotomllsp 🔧

This LSP server will spare you from going over to crates.io/docs.rs/... to find whatever package version is the latest one. Inspired by some videos of people having this functionality in vsc*de. Can't let those pesky vsc*de soyboy developers get away with having more features (support for vsc*de will maybe be added in the future)...

Supported features 🧰

Currently, server is capable of supplying:

  • latest version of the crate
  • feature names

Usage 🛠️

In the future this will maybe be available through Mason. For now, you have to have Rust installed, and then you have to install by running:

$ cargo install cargotomllsp

Neovim ⚡

WIP. But currently if you want a quick way to attach it to a buffer, then run the code from attach_lsp.lua in a buffer you want to attach to. A quick way to run lua code in neovim is to use the following command:

luafile <path-to-file>

Logging

Server should be outputting logs to $HOME/.local/state/cargotomllsp.log.

Commit count: 19

cargo fmt