~vigoux/azy.nvim-devel

Using `bat`/`cat` for previews

Details
Message ID
<ypi9il7ak6vm.fsf@gmail.com>
DKIM signature
missing
Download raw message
Hi,

Currently azy uses an actual buffer for previews. While this is better
for syntax highlighting, it suffers from two problems:
 - It is slightly slow
 - Being a real buffer, sometimes lsp attaches and produces weird errors

Given that one of the stated goals of azy is speed, I think it should
use `bat`, or plain `cat` when `bat` is not available.
--
p00f
Reply to thread Export thread (mbox)