Gitsigns

gitsigns layer #

The gitsigns layer allows you to use git from within vim via the gitsigns.nvim plugin.

Configuration #

Any valid configuration for gitsigns.nvim can also be passed to the gitsigns layer.

Examples #

-- path/of/your/vim/config/init.lua

require("visimp")({
  gitsigns = {
  numhl      = true, -- Toggle with `:Gitsigns toggle_numhl`
  linehl     = true, -- Toggle with `:Gitsigns toggle_linehl`
  word_diff  = true, -- Toggle with `:Gitsigns toggle_word_diff`
  },
})

Documentation #

The full gitsigns.nvim documentation is available here.