From 1926d5a2be440f0d4ea8b6d5cb4f79a7d3037863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wouter=20Horr=C3=A9?= Date: Wed, 24 Aug 2011 17:55:38 +0200 Subject: [PATCH] Replaced highlight argument '-R' with '-O rtf' Highlight 3.0 beta changelog says: - disabled separate output format options (use --out-format instead) --- plugin/rtf_highlight.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rtf_highlight.vim b/plugin/rtf_highlight.vim index 0470665..5fca175 100644 --- a/plugin/rtf_highlight.vim +++ b/plugin/rtf_highlight.vim @@ -31,7 +31,7 @@ function! RTFHighlight(line1,line2,...) endif let content = join(getline(a:line1,a:line2),"\n") - let command = "highlight --syntax " . a:1 . " -s " . g:rtfh_theme . " -R -k " . g:rtfh_font . " -K " . g:rtfh_size . " 2> /dev/null" + let command = "highlight --syntax " . a:1 . " -s " . g:rtfh_theme . " -O rtf -k " . g:rtfh_font . " -K " . g:rtfh_size . " 2> /dev/null" let output = system(command,content) " let @* = output " for some reason text copied this way