diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-03-06 17:49:42 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-03-06 17:49:42 +0100 |
| commit | 2f3343a186330352894bf9d12359ce52a6404939 (patch) | |
| tree | 1a4744e9dcb7ac4fc684ddd7af3fb5880bdddd30 | |
| parent | 833a9a266fa7bd065f3e0e0056a86b81f933bd36 (diff) | |
added treesitter folding to neovim config
| -rw-r--r-- | modules/home/i3wm/nord-blue/nvim.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 ------------------------------------------------- |
