Skip to content

Commit

Permalink
Settings: Actually match any ft that starts with git.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed Nov 20, 2011
1 parent d03fbb2 commit dc353aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janus/vim/core/before/plugin/settings.vim
Expand Up @@ -89,7 +89,7 @@ set noequalalways
" Remember last location in file, but not for commit messages.
" see :help last-position-jump
if has("autocmd")
au BufReadPost * if &filetype !~ 'commit\c' && line("'\"") > 0 && line("'\"") <= line("$")
au BufReadPost * if &filetype !~ '^git\c' && line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g`\"" | endif
endif

Expand Down

0 comments on commit dc353aa

Please sign in to comment.