From 2f3343a186330352894bf9d12359ce52a6404939 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Fri, 6 Mar 2026 17:49:42 +0100 Subject: added treesitter folding to neovim config --- modules/home/i3wm/nord-blue/nvim.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/home/i3wm') diff --git a/modules/home/i3wm/nord-blue/nvim.nix b/modules/home/i3wm/nord-blue/nvim.nix index 7c171d4..80fe860 100644 --- a/modules/home/i3wm/nord-blue/nvim.nix +++ b/modules/home/i3wm/nord-blue/nvim.nix @@ -128,6 +128,10 @@ indent = { enable = true }, }) + vim.opt.foldmethod = "expr" + vim.opt.foldexpr = "nvim_treesitter#foldexpr()" + vim.opt.foldenable = false + ------------------------------------------------- -- SNIPPETS ------------------------------------------------- -- cgit v1.2.3