Skip to main content

Module lsp

Module lsp 

Source
Expand description

Minimal LSP server for ffmt.

Supports:

  • textDocument/formatting (full document)
  • textDocument/rangeFormatting (line range)

Run with: ffmt --lsp

Functionsยง

run_lsp
Run the LSP server on stdin/stdout.