Browse Source

update settings

jackyalcine 1 year ago
parent
commit
5ccf604c0a
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
3 changed files with 10 additions and 6 deletions
  1. 5
    1
      home/.config/nvim/autoload/plug.vim
  2. 3
    3
      home/.config/nvim/init.vim
  3. 2
    2
      home/.vimrc_background

+ 5
- 1
home/.config/nvim/autoload/plug.vim View File

@@ -2420,7 +2420,11 @@ function! s:diff()
2420 2420
     call s:append_ul(2, origin ? 'Pending updates:' : 'Last update:')
2421 2421
     for [k, v] in plugs
2422 2422
       let range = origin ? '..origin/'.v.branch : 'HEAD@{1}..'
2423
-      let diff = s:system_chomp('git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 's:shellesc(v:val)')), v.dir)
2423
+      let cmd = 'git log --graph --color=never '.join(map(['--pretty=format:%x01%h%x01%d%x01%s%x01%cr', range], 's:shellesc(v:val)'))
2424
+      if has_key(v, 'rtp')
2425
+        let cmd .= ' -- '.s:shellesc(v.rtp)
2426
+      endif
2427
+      let diff = s:system_chomp(cmd, v.dir)
2424 2428
       if !empty(diff)
2425 2429
         let ref = has_key(v, 'tag') ? (' (tag: '.v.tag.')') : has_key(v, 'commit') ? (' '.v.commit) : ''
2426 2430
         call append(5, extend(['', '- '.k.':'.ref], map(s:lines(diff), 's:format_git_log(v:val)')))

+ 3
- 3
home/.config/nvim/init.vim View File

@@ -310,7 +310,7 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
310 310
       \ | Plug 'fszymanski/fzf-gitignore', { 'do' : ':UpdateRemotePlugins' }
311 311
       \ | Plug 'tweekmonster/fzf-filemru'
312 312
 Plug 'chriskempson/base16-vim'
313
-Plug 'keith/investigate.vim'
313
+Plug 'KabbAmine/zeavim.vim'
314 314
 Plug 'vim-airline/vim-airline' |
315 315
       \ Plug 'vim-airline/vim-airline-themes'
316 316
 Plug 'tpope/vim-dispatch' |
@@ -383,7 +383,7 @@ Plug 'roxma/vim-tmux-clipboard'
383 383
 Plug 'mhinz/vim-startify'
384 384
 Plug 'junegunn/goyo.vim'
385 385
 Plug 'junegunn/limelight.vim'
386
-" Plug 'ryanoasis/vim-devicons'
386
+Plug 'ryanoasis/vim-devicons'
387 387
 
388 388
 call plug#end()
389 389
 " }}}
@@ -818,7 +818,7 @@ call <SID>apply_bulk_mappings([
818 818
       \ ['tD', 'call LanguageClient_textDocument_typeDefintion()<CR>'],
819 819
       \ ['I', 'call LanguageClient_textDocument_implementation()<CR>'],
820 820
       \ ['R', 'call LanguageClient_textDocument_rename()<CR>'],
821
-      \ ['Z', 'call investigate#Investigate("n")<CR>'],
821
+      \ ['Z', '<Plug>Zeavim'],
822 822
       \ ], {
823 823
       \ 'prefix': 'g'
824 824
       \ })

+ 2
- 2
home/.vimrc_background View File

@@ -1,3 +1,3 @@
1
-if !exists('g:colors_name') || g:colors_name != 'base16-tomorrow-night'
2
-  colorscheme base16-tomorrow-night
1
+if !exists('g:colors_name') || g:colors_name != 'base16-brewer'
2
+  colorscheme base16-brewer
3 3
 endif

Loading…
Cancel
Save