Skip to content

Commit

Permalink
Revert "ensure modifiable before put contents (#11)"
Browse files Browse the repository at this point in the history
This reverts commit 129f6f1.
  • Loading branch information
rhysd committed Feb 9, 2016
1 parent 129f6f1 commit fc80497
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion autoload/committia.vim
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function! s:open_window(vcs, type, info, ft) abort
execute 'silent' g:committia_{coltype}{a:type}_window_opencmd bufname
let a:info[a:type . '_winnr'] = bufwinnr(bufname)
let a:info[a:type . '_bufnr'] = bufnr('%')
setlocal modifiable
call append(0, content)
execute 0
execute 'setlocal ft=' . a:ft
Expand Down

0 comments on commit fc80497

Please sign in to comment.