use nixvim options for git-blame.nvim

This commit is contained in:
Adithya 2023-09-16 17:39:35 +05:30
parent 11c3e55837
commit af6a0257d5
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -13,9 +13,6 @@
enable = true; enable = true;
fullSpecialAttrsSupport = true; fullSpecialAttrsSupport = true;
}; };
extraPlugins = with pkgs.vimPlugins; [
git-blame-nvim
];
extraPackages = with pkgs; [ extraPackages = with pkgs; [
fd fd
ripgrep ripgrep
@ -24,9 +21,6 @@
vim.opt.listchars:append "space:" vim.opt.listchars:append "space:"
vim.opt.listchars:append "eol:" vim.opt.listchars:append "eol:"
''; '';
globals = {
gitblame_date_format = "%r";
};
options = { options = {
autowrite = true; autowrite = true;
background = "dark"; background = "dark";
@ -103,6 +97,10 @@
cmp-nvim-lsp-signature-help.enable = true; cmp-nvim-lsp-signature-help.enable = true;
cmp-treesitter.enable = true; cmp-treesitter.enable = true;
cmp_luasnip.enable = true; cmp_luasnip.enable = true;
gitblame = {
enable = true;
dateFormat = "%r";
};
gitsigns.enable = true; gitsigns.enable = true;
indent-blankline = { indent-blankline = {
enable = true; enable = true;