Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ledger

URL: https://github.com/ledger/vim-ledger/

Maintainers: Gaetan Lepage


Filetype detection, syntax highlighting, auto-formatting, auto-completion, and other tools for working with ledger files.

plugins.ledger.enable

Whether to enable ledger.

Type: boolean

Default: false

Example: true

Declared by:

plugins.ledger.package

The ledger package to use.

Type: package

Default: pkgs.vimPlugins.vim-ledger

Declared by:

plugins.ledger.autoLoad

Whether to automatically load ledger when neovim starts.

Type: boolean

Default: true

Example: false

Declared by:

plugins.ledger.settings

The configuration options for ledger without the ledger_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal ledger_foo_bar=1
  • hello = "world" -> :setglobal ledger_hello="world"
  • some_toggle = true -> :setglobal ledger_some_toggle
  • other_toggle = false -> :setglobal noledger_other_toggle

Type: lua value

Default: { }

Example:

{
  detailed_first = 1;
  fillstring = " ";
  fold_blanks = 0;
  maxwidth = 80;
}

Declared by: