Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.11 KB

Zed Beancount

This extension adds support for the Beancount language.

Setup

By default this extension just provides syntax highlighting for .beancount and .bean files, but also optional support for beancount-language-server as well.

To use that you will need beancount and beancount-language-server available in your path. For example, on mac:

brew install beancount beancount-language-server

With that installed Zed will show Diagnostic information inline and in the Zed Diagnostics Panel like this:

beancount-zed-extension-screenshot

Configuration

You can configure the beancount-language-server by adding initialization options to either your project settings or global Zed settings:

// Project-specific: .zed/settings.json
// Global: ~/.config/zed/settings.json
{
  "lsp": {
    "beancount": {
      "initialization_options": {
        "journal_file": "/path/to/main.beancount"
      }
    }
  }
}