fix: termopen previewer (#1901)

- buffer leaking
- still insert mode on confirm
This commit is contained in:
Simon Hauser
2022-05-01 09:46:50 +02:00
committed by GitHub
parent 280c4e3037
commit 544c5ee407
6 changed files with 65 additions and 68 deletions

View File

@@ -95,9 +95,6 @@ end
---
--- Furthermore, it will forward all `config.set_env` environment variables to
--- that terminal process.
---
--- While this interface is a good start, it was replaced with the way more
--- flexible `buffer_previewer` and is now deprecated.
previewers.new_termopen_previewer = term_previewer.new_termopen_previewer
--- Provides a `termopen_previewer` which has the ability to display files.