cleanup: Removing extraneous items that are meant for development work

and experimental settings rather than the official stable setup
This commit is contained in:
2026-08-12 10:36:57 -05:00
parent 6e035d1f4c
commit 114d764b18
6 changed files with 5 additions and 39 deletions

View File

@@ -2,7 +2,7 @@
local largefile_group = vim.api.nvim_create_augroup('largefile', { clear = true })
local max_filesize = 4 * (1024 * 1024) -- 4 MB
local old_eventignore = false
local old_eventignore = ''
-- Disables syntax, treesitter and folding on larger files
vim.api.nvim_create_autocmd({ 'BufReadPre' }, {
@@ -30,7 +30,7 @@ vim.api.nvim_create_autocmd({ 'BufWinEnter' }, {
callback = function(ev)
if old_eventignore ~= false then
vim.o.eventignore = old_eventignore -- Restore the old setting
old_eventignore = false
old_eventignore = ''
end
if vim.b[ev.buf].is_large_file then
vim.wo.wrap = false