feat(autocmds): added proper bigfile support

This commit is contained in:
Folke Lemaitre 2024-06-25 20:30:57 +02:00
parent a33eabddd9
commit 938a6718c6
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 28 additions and 0 deletions

View file

@ -40,6 +40,12 @@ vim.g.lazyvim_statuscolumn = {
-- Hide deprecation warnings
vim.g.deprecation_warnings = false
-- Set filetype to `bigfile` for files larger than 1.5 MB
-- Only vim syntax will be enabled (with the correct filetype)
-- LSP, treesitter and other ft plugins will be disabled.
-- mini.animate will also be disabled.
vim.g.bigfile_size = 1024 * 1024 * 1.5 -- 1.5 MB
-- Show the current document symbols location from Trouble in lualine
vim.g.trouble_lualine = true