From 2c237c78772945a006feb5baccc34991f5a8f3a4 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 24 Sep 2023 16:18:58 +0200 Subject: [PATCH] add git integration for neovim closes #2 --- home.nix | 1 + neovim.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/home.nix b/home.nix index 2fad55a..ab6fdd3 100644 --- a/home.nix +++ b/home.nix @@ -31,6 +31,7 @@ in telescope-nvim vim-commentary vim-sleuth + gitsigns-nvim ]; extraLuaConfig = builtins.readFile ./neovim.lua; }; diff --git a/neovim.lua b/neovim.lua index 1f89b87..168b565 100644 --- a/neovim.lua +++ b/neovim.lua @@ -65,3 +65,6 @@ require('telescope').setup{ --[ COMMENTARY ]-- vim.cmd([[autocmd FileType nix setlocal commentstring=#\ %s]]) + +--[ GITSIGNS ]-- +require("gitsigns").setup()