aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index f0a57eb..694bbb3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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