Skip to content

Commit

Permalink
fix missing if detecting buffer fugitive type
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobender committed Jan 15, 2019
1 parent 6c3f3af commit ff5069e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim/settings/vim-fugitive.vim
Expand Up @@ -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
Expand Down

0 comments on commit ff5069e

Please sign in to comment.