mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
* barbar: package option * Base16: package option * gruvbox: package option * nord: package option * one: package option * onedark: package option * tokyonight: package option * nvim-cmp: package option * coq: package option * lspkind: package option * helpers: added package option to mkPlugin * fugitive: package option * gitgutter: package option * gitsigns: package option * neogit: package option * ledger: package option * nix: package option * plantuml-syntax: package option * treesitter-context: package option + formatting * treesitter-refactor: package option + formatting * treesitter: package option * zig: package option * null-ls: package option * null-ls/servers: package option * lsp-lines: package option * lspsaga: package option * trouble: package option * luasnip: added description for package option * airline: package option * lightline: package option * lualine: package option * telescope: package option * telescope/frecency: package option * telescope/fzf-native: package option * telescope/media-files: package option * comment-nvim: package option * vim-commentary: package option * dashboard: package option * easyescape: package option * emmet: package option * endwise: package option * floaterm: package option * goyo: package option * intellitab: package option * mark-radar: package option * notify: package option * nvim-autopairs: package option * nvim-tree: package option * project-nvim: package option * specs: package option * startify: package option * surround: package option * undotree: package option
33 lines
951 B
Nix
33 lines
951 B
Nix
{ pkgs, lib, ... }@args:
|
|
with lib; with import ../helpers.nix { lib = lib; };
|
|
mkPlugin args {
|
|
name = "ledger";
|
|
description = "Enable ledger language features";
|
|
package = pkgs.vimPlugins.vim-ledger;
|
|
|
|
options = {
|
|
maxWidth = mkDefaultOpt {
|
|
global = "ledger_maxwidth";
|
|
description = "Number of columns to display foldtext";
|
|
type = types.int;
|
|
};
|
|
|
|
fillString = mkDefaultOpt {
|
|
global = "ledger_fillstring";
|
|
description = "String used to fill the space between account name and amount in the foldtext";
|
|
type = types.int;
|
|
};
|
|
|
|
detailedFirst = mkDefaultOpt {
|
|
global = "ledger_detailed_first";
|
|
description = "Account completion sorted by depth instead of alphabetically";
|
|
type = types.bool;
|
|
};
|
|
|
|
foldBlanks = mkDefaultOpt {
|
|
global = "ledger_fold_blanks";
|
|
description = "Hide blank lines following a transaction on a fold";
|
|
type = types.bool;
|
|
};
|
|
};
|
|
}
|