code block folding

This commit is contained in:
Noa Aarts 2024-03-13 13:48:58 +01:00
parent 3baaf19bf8
commit ca7d20c413

View file

@ -150,6 +150,9 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`