Move require for gitsigns to git.vim
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
lua << EOF
|
||||
require("gitsigns").setup {
|
||||
signcolumn = false,
|
||||
current_line_blame = true,
|
||||
current_line_blame_opts = {
|
||||
virt_text = true,
|
||||
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
||||
delay = 500,
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
" Remap to toggle gitsigns as linehl
|
||||
nnoremap <leader>sg :Gitsigns toggle_linehl<CR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user