Skip to content

Commit

Permalink
Fix #462 pedit error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Mar 18, 2018
1 parent a368b53 commit c4ef630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/denite/kind/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def action_preview(self, context):
return

prev_id = self.vim.call('win_getid')
self.vim.command('pedit')
self.vim.command('pedit!')
self.vim.command('wincmd P')
self.action_open(context)
self.vim.call('win_gotoid', prev_id)
Expand Down

0 comments on commit c4ef630

Please sign in to comment.