mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
[preview] Support bat for syntax highlighting in preview.rb
One can still take advantage of `bat` as a syntax highlighter, when ruby is available but other ruby-based highlighter packages are not installed.
This commit is contained in:
committed by
Junegunn Choi
parent
974d366b33
commit
b73d141b74
@@ -188,6 +188,7 @@ command! -bang Colors
|
||||
" - Highlight: http://www.andre-simon.de/doku/highlight/en/highlight.php
|
||||
" - CodeRay: http://coderay.rubychan.de/
|
||||
" - Rouge: https://github.com/jneen/rouge
|
||||
" - Bat: https://github.com/sharkdp/bat
|
||||
"
|
||||
" :Ag - Start fzf with hidden preview window that can be enabled with "?" key
|
||||
" :Ag! - Start fzf in fullscreen and display the preview window above
|
||||
|
||||
Reference in New Issue
Block a user