1
0
Fork 0
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:
Axel Karjalainen 2025-10-05 00:06:18 +03:00 committed by Matt Sturgeon
parent 9a4a68a80d
commit c074710027
2 changed files with 73 additions and 0 deletions

View 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"
];
};
}