mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
Add support for the rouge highlighter. (#336)
https://github.com/jneen/rouge
This commit is contained in:
committed by
Junegunn Choi
parent
2eaff04946
commit
4f00962a81
@@ -4,7 +4,7 @@
|
||||
|
||||
require 'shellwords'
|
||||
|
||||
COMMAND = %[(highlight -O ansi -l {} || coderay {} || cat {}) 2> /dev/null]
|
||||
COMMAND = %[(highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null]
|
||||
ANSI = /\x1b\[[0-9;]*m/
|
||||
REVERSE = "\x1b[7m"
|
||||
RESET = "\x1b[m"
|
||||
|
||||
Reference in New Issue
Block a user