Open gennaro-tedesco opened 9 months ago
Duplicate of https://github.com/dandavison/delta/issues/1441 (or derivate): perhaps fixed already? My
rg --version ripgrep 14.0.3 features:-simd-accel,+pcre2 simd(compile):+NEON simd(runtime):+NEON PCRE2 10.42 is available (JIT is available)
on macOS 13.6.1 Ventura.
macOS 13.6.1 Ventura
Coloured output for rg ... --json | delta fails when tabs are included in the grepped line
rg ... --json | delta
touch file echo $'first line\n\tsecond line\n\tthirdline' > file
rg line file
shows whereas
rg line file --json | delta
shows where the lines with tabs present wrong highlight.
I have this problem too... I "solved" this by adding --tabs=1 (after trying a few different values) to my delta command line.
--tabs=1
Thank you for the suggestion, it does indeed work!
Duplicate of https://github.com/dandavison/delta/issues/1441 (or derivate): perhaps fixed already? My
on
macOS 13.6.1 Ventura
.Description
Coloured output for
rg ... --json | delta
fails when tabs are included in the grepped lineExample
shows whereas
shows where the lines with tabs present wrong highlight.