From 203556ba97149e26ffb95c144ee95793f86de09b Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 25 Aug 2022 02:38:17 -0700 Subject: [PATCH] nvim: show gitsigns where dotfiles live --- .config/nvim/lua/blake/other.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/nvim/lua/blake/other.lua b/.config/nvim/lua/blake/other.lua index d64f436..6f65e73 100644 --- a/.config/nvim/lua/blake/other.lua +++ b/.config/nvim/lua/blake/other.lua @@ -111,6 +111,12 @@ M.gitsigns = function() }, attach_to_untracked = true, current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame` + worktrees = { + { + toplevel = vim.env.HOME, + gitdir = vim.env.HOME .. '/git/dotfiles' + }, + }, current_line_blame_opts = { virt_text = true, virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'