Open nopears opened 1 day ago
Lmk if I'm doing something wrong, please. It still works kinda sluggish :(
Hi,
In your dotfiles I see that you are using folke/snacks plugin that generates the notification I see on the second screenshot.
It seems snacks also has some bigfile detection (didn't look into it, I don't use it). Anyway if you disable bigfile detection in snacks than the pteroctopus/faster.nvim will work:
return {
"folke/snacks.nvim",
***
bigfile = { enabled = false },
***
Not sure why snacks breaks faster.nvim and what exactly snacks bigfile does. But if you don't need both than just disable snacks bigfile and faster.nvim should work.
I'll look into it if I have time at some point.
Please report back if this solves your problem and thank you for using faster.nvim
From folke snacks bigfile Readme:
The default implementation enables syntax for the buffer and disables mini.animate (if used)
So snacks reenables syntax and thats why you have it.
Thanks for helping, ig it's gonna work, will try soon
That's my solution, cuz their implementation is worse than yours (much less optimization): There's one thing tho, indent line still shows current scope, any ideas how to fix it would be great
Am I understanding correctly that you are using snacks bigfile but calling Faster command in its setup? If so please disable snacks bigfile as I sad in previous comment and then report back if you have problems when using only faster.nvim plugin.
When I'm opening a 20mb json file it still has syntax highlighting, even tho it shouldn't afaik. Here's my config: And here's the result of opening the file: