mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
vim: add gitgutter
This commit is contained in:
parent
38c91eb247
commit
dabedb6631
1 changed files with 13 additions and 2 deletions
|
@ -114,9 +114,20 @@ in
|
|||
viAlias = true;
|
||||
vimAlias = true;
|
||||
configure = {
|
||||
packages.sconfig.start = [ pkgs.vimPlugins.vim-nix ];
|
||||
packages.sconfig.start = with pkgs.vimPlugins; [
|
||||
vim-gitgutter
|
||||
vim-nix
|
||||
];
|
||||
customRC = ''
|
||||
set list nowrap scrolloff=9
|
||||
set encoding=utf-8
|
||||
scriptencoding utf-8
|
||||
set list nowrap scrolloff=9 updatetime=300 number
|
||||
highlight GitGutterAdd ctermfg=10
|
||||
highlight GitGutterChange ctermfg=11
|
||||
highlight GitGutterDelete ctermfg=9
|
||||
let g:gitgutter_sign_removed = '◣'
|
||||
let g:gitgutter_sign_removed_first_line = '◤'
|
||||
let g:gitgutter_sign_modified_removed = '~~'
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue