Skip to content
Permalink
Browse files

fix missing if detecting buffer fugitive type

  • Loading branch information...
pablobender committed Jan 15, 2019
1 parent 6c3f3af commit ff5069e714b363a6b4e9e39d3982e79cc7cb0b54
Showing with 1 addition and 1 deletion.
  1. +1 −1 vim/settings/vim-fugitive.vim
@@ -3,7 +3,7 @@
" parent directory. Here’s a mapping of .. to the above command, but
" only for buffers containing a git blob or tree
autocmd User fugitive
\ get(b:, 'fugitive_type', '') =~# '^\%(tree\|blob\)$' |
\ if get(b:, 'fugitive_type', '') =~# '^\%(tree\|blob\)$' |
\ nnoremap <buffer> .. :edit %:h<CR> |
\ endif

0 comments on commit ff5069e

Please sign in to comment.
You can’t perform that action at this time.