[neovim] added gitsigns plugin
This commit is contained in:
parent
5c091b8b86
commit
fb158f7d41
@ -76,6 +76,10 @@
|
|||||||
|
|
||||||
|
|
||||||
-- load plugins
|
-- load plugins
|
||||||
|
require("gitsigns").setup()
|
||||||
|
vim.keymap.set("n", "<leader>gp", ":Gitsigns preview_hunk<CR>", {})
|
||||||
|
vim.keymap.set("n", "<leader>gb", ":Gitsigns toggle_current_line_blame<CR>", {})
|
||||||
|
|
||||||
-- neo-tree
|
-- neo-tree
|
||||||
require("neo-tree").setup({
|
require("neo-tree").setup({
|
||||||
filesystem = {
|
filesystem = {
|
||||||
@ -148,6 +152,7 @@
|
|||||||
|
|
||||||
# plugins
|
# plugins
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
gitsigns-nvim
|
||||||
neo-tree-nvim
|
neo-tree-nvim
|
||||||
nvim-treesitter
|
nvim-treesitter
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
|
Reference in New Issue
Block a user