From af6a0257d5d66a81c24332deefeb91490c2480ad Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 16 Sep 2023 17:39:35 +0530 Subject: [PATCH] use nixvim options for git-blame.nvim --- home/programs/neovim.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 3127b56..bb11b59 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -13,9 +13,6 @@ enable = true; fullSpecialAttrsSupport = true; }; - extraPlugins = with pkgs.vimPlugins; [ - git-blame-nvim - ]; extraPackages = with pkgs; [ fd ripgrep @@ -24,9 +21,6 @@ vim.opt.listchars:append "space:⋅" vim.opt.listchars:append "eol:↴" ''; - globals = { - gitblame_date_format = "%r"; - }; options = { autowrite = true; background = "dark"; @@ -103,6 +97,10 @@ cmp-nvim-lsp-signature-help.enable = true; cmp-treesitter.enable = true; cmp_luasnip.enable = true; + gitblame = { + enable = true; + dateFormat = "%r"; + }; gitsigns.enable = true; indent-blankline = { enable = true;