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