detect-language.nvim icon indicating copy to clipboard operation
detect-language.nvim copied to clipboard

Parsing timeout

Open spywhere opened this issue 4 years ago • 2 comments

Allow each of the language to timed out for better performance and not keep hanging the process.

spywhere avatar Sep 20 '21 10:09 spywhere

Performance workaround: Disable auto-detection by setting

events = {},

in require('detect-language').setup {}

spywhere avatar Oct 20 '21 16:10 spywhere

libuv thread is not helping as it cannot access vim module inside a thread.

spywhere avatar Oct 26 '21 16:10 spywhere