LunarVim / bigfile.nvim

Make editing big files faster 🚀
Apache License 2.0
284 stars 13 forks source link

Feature request: stop neovim from loading huge files (without confirmation) #26

Open Flimm opened 1 week ago

Flimm commented 1 week ago

If an edited file is bigger than a certain size, this Neovim plugin disables certain features in order to protect Neovim's resources. That's great!

For truly ginormous files, this is not enough. It would be good if I could set a second threshold to stop Neovim from attempting to load any truly ginormous files at all. I don't want my system to crash because Neovim is trying to a very big file. It would be great if I was prompted first if I wanted to open a big file.