refactor: Moving the wezterm local file linux cursor fix into the main

config file, fixing treesitter folding (maybe) and removing the old
attempt at a fix, slight fixes to formatting in other files.
This commit is contained in:
2026-03-31 15:56:08 -05:00
parent f80e5aa318
commit 36c3852bc3
7 changed files with 68 additions and 84 deletions

View File

@@ -1,10 +1,3 @@
-- Fix for treesitter folds, as folds are not recalculated upon buffer changes (especially when pasting text)
-- vim.api.nvim_create_autocmd({ 'BufEnter', 'BufNew', 'BufWinEnter' }, {
-- pattern = '*',
-- group = vim.api.nvim_create_augroup('telescope_fold_workaround', { clear = true }),
-- command = 'set foldexpr=nvim_treesitter#foldexpr()',
-- })
-- Disables syntax, treesitter and folding on larger files
vim.api.nvim_create_autocmd({ 'BufReadPre' }, {
pattern = '*',