summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-09 21:48:44 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-09 21:49:14 +0200
commit1e5b6df23f9610786ffc0c04ac9bfd1c0b778352 (patch)
tree02de7f335941a20d3581a770a7183a30926ff261 /.config/nvim/lua/setup
parent66c6c22387b76e0e547302d402e1a37924cc1ba7 (diff)
nvim: cleaner git support for dotfiles
Diffstat (limited to '.config/nvim/lua/setup')
-rw-r--r--.config/nvim/lua/setup/gitsigns.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup/gitsigns.lua b/.config/nvim/lua/setup/gitsigns.lua
new file mode 100644
index 0000000..7894125
--- /dev/null
+++ b/.config/nvim/lua/setup/gitsigns.lua
@@ -0,0 +1,8 @@
+require('gitsigns').setup {
+ worktrees = {
+ {
+ toplevel = vim.env.HOME,
+ gitdir = vim.env.HOME .. '/.cfg'
+ }
+ }
+}