mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/blame-nvim: init
This commit is contained in:
parent
9a4a68a80d
commit
c074710027
2 changed files with 73 additions and 0 deletions
19
plugins/by-name/blame-nvim/default.nix
Normal file
19
plugins/by-name/blame-nvim/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "blame-nvim";
|
||||
moduleName = "blame";
|
||||
description = "fugitive.vim-style `git blame` visualizer for Neovim";
|
||||
|
||||
maintainers = [ lib.maintainers.axka ];
|
||||
|
||||
settingsExample = {
|
||||
date_format = "%Y-%m-%d";
|
||||
views.default = lib.nixvim.nestedLiteralLua "require('blame.views.virtual_view')";
|
||||
format_fn = lib.nixvim.nestedLiteralLua "require('blame.formats.default_formats').date_message";
|
||||
colors = [
|
||||
"Pink"
|
||||
"Aqua"
|
||||
"#ffffff"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue