bacon-ls 0.1.0

Bacon Language Server
Documentation

bacon Bacon Language Server

LSP Server wrapper for the exceptional Bacon exposing only textDocument/diagnostic and workspace/diagnostic capabilities.

screenshot

How does it work

Bacon-ls reads the diagnostics location list generated by Bacon's export-locations settings and fills up the LSP client diagnostics.

It requires Bacon to be running alongside it to ensure the export locations are updated regularly.

Installation

First, install Bacon and Bacon-ls

❯❯❯ cargo install --locked bacon
❯❯❯ cargo install --locked bacon-ls

Configure Bacon export-locations settings with Bacon-ls export format:

[export]
enabled = true
path = ".bacon-locations"
line_format = "{kind}:{path}:{line}:{column}:{message}"

IDE integration

Neovim