Add folding

This commit is contained in:
Jona Löffler 2024-04-25 15:25:50 +02:00
parent 8851672e28
commit 275395364a
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ vim.opt.wrap = false -- no line wraps
vim.opt.guifont = 'Fira Code:h12'
vim.opt.linespace = 5
vim.opt.foldmethod = 'expr'
vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
vim.api.nvim_exec2('set nofoldenable', {})
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`