summaryrefslogtreecommitdiff
path: root/hm/editors
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-02-08 18:03:39 +0100
committeradikro <adikro@disroot.org>2026-02-08 18:03:39 +0100
commit2c8a4dd99efd61298bc18393e7fcbf6063db8671 (patch)
tree1efd5ac8f5bcf7b1611cec1beaa545e6a2c14160 /hm/editors
parenteb95abfc230dc239122f1e89e90cd9a998491a2f (diff)
...
Diffstat (limited to 'hm/editors')
-rw-r--r--hm/editors/nixvim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hm/editors/nixvim.nix b/hm/editors/nixvim.nix
index e46f6e2..9db6bff 100644
--- a/hm/editors/nixvim.nix
+++ b/hm/editors/nixvim.nix
@@ -33,6 +33,9 @@ in
};
opts = {
+ smartindent = true;
+ autoindent = true;
+ breakindent = true;
number = true;
relativenumber = true;
termguicolors = true;
@@ -188,6 +191,7 @@ in
treesitter-context = {
enable = true;
settings = {
+ indent.enable = true;
max_lines = 2;
trim_scope = "outer";
};