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
|
" Remap to toggle gitsigns as linehl
|
||||||
nnoremap <leader>sg :Gitsigns toggle_linehl<CR>
|
nnoremap <leader>sg :Gitsigns toggle_linehl<CR>
|
||||||
|
|
||||||
|
|||||||
@@ -23,16 +23,3 @@ let g:closetag_regions = {
|
|||||||
|
|
||||||
" Ignore files inside .git directory by CtrlP
|
" Ignore files inside .git directory by CtrlP
|
||||||
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
|
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
|
||||||
|
|
||||||
lua << EOF
|
|
||||||
require("gitabra").setup {}
|
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user