almost no-op (#8)

* add folding

* no more fold
This commit is contained in:
peturparkur 2025-08-25 20:55:30 +02:00 committed by GitHub
parent c3c0b45e6e
commit d1aade11b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View file

@ -15,6 +15,15 @@ return { -- Highlight, edit, and navigate code
-- indent = { enable = true, disable = { 'ruby' } },
},
config = function(_, opts)
-- fold method to be function / treesitter
-- vim.o.foldmethod = 'expr'
-- Default to treesitter folding
-- vim.o.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
-- vim.o.foldenable = false
vim.opt.foldnestmax = 4
vim.opt.foldlevel = 99
vim.opt.foldlevelstart = 1
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
-- Prefer git instead of curl in order to improve connectivity in some environments