dblume commited on 2022-11-12 23:25:13
Showing 1 changed files, with 1 additions and 1 deletions.
... | ... |
@@ -253,7 +253,7 @@ if has("autocmd") |
253 | 253 |
|
254 | 254 |
" When editing a file, always jump to the last cursor position |
255 | 255 |
autocmd BufReadPost * |
256 |
- \ if &ft != "p4changelist" && line("'\"") > 0 && line ("'\"") <= line("$") | |
|
256 |
+ \ if &ft != "p4changelist" && &ft != "gitcommit" && line("'\"") > 0 && line ("'\"") <= line("$") | |
|
257 | 257 |
\ exe "normal! g'\"" | |
258 | 258 |
\ endif |
259 | 259 |
endif |
260 | 260 |