diff options
| author | user@node5.net <user@node5.net> | 2025-12-14 16:14:54 +0100 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2025-12-14 16:14:54 +0100 |
| commit | 5de7fa40db6aac7f31965cf7d3a22405bd43665f (patch) | |
| tree | 56c89934f1cea2026688e422a6514516a0a6cfcd | |
| parent | c2e8749f92781fb34155c981fdfedcdb48bef55c (diff) | |
Treesitter context minimalistic
| -rw-r--r-- | flake.nix | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -54,6 +54,7 @@ CursorLine.bg="#0a0a0a"; ColorColumn.bg="#0a0a0a"; Normal.bg=null; # Transparent nvim + TreesitterContext.bg="#202020"; }; @@ -321,8 +322,15 @@ enableTreesitter = true; # Improved code highlighting markdown.extensions.markview-nvim.enable = true; # Markdown preview }; - treesitter.context.enable =true; + treesitter.context = { + enable =true; + setupOpts = { + max_lines = 2; + separator = null; + mode = "topline"; + }; + }; minimap = { minimap-vim.enable = false; codewindow.enable = true; # lighter, faster, and uses lua for configuration |
