projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fee62f
)
vim: make the html handler configurable
author
Paul Roberts
<pmr@stelo.org.uk>
Thu, 1 May 2014 22:57:53 +0000
(17:57 -0500)
committer
David Bremner
<david@tethera.net>
Fri, 2 May 2014 20:59:58 +0000
(
05:59
+0900)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
vim/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/notmuch.vim
b/vim/notmuch.vim
index 25a16e9a4ec5b230d2879e3c5f27f69ee77a756d..0cb94f6c93b542812b0b3942ae77f1ee710c2e5c 100644
(file)
--- a/
vim/notmuch.vim
+++ b/
vim/notmuch.vim
@@
-919,7
+919,8
@@
ruby << EOF
if mime_type != "text/html"
text = decoded
else
- IO.popen("elinks --dump", "w+") do |pipe|
+ IO.popen(VIM::evaluate('exists("g:notmuch_html_converter") ? ' +
+ 'g:notmuch_html_converter : "elinks --dump"'), "w+") do |pipe|
pipe.write(decode_body)
pipe.close_write
text = pipe.read