Moving all the nvim files to a subdirectory and updated the deploy script.

This commit is contained in:
2024-03-04 14:08:47 -06:00
parent 3c6b5ec1e1
commit 55765e8cf6
21 changed files with 2 additions and 2 deletions

6
nvim/lua/autocmds.lua Normal file
View File

@@ -0,0 +1,6 @@
-- 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()',
})