From 413651f28514a7897d640ef5328bca33c2edf5bc Mon Sep 17 00:00:00 2001 From: Ellis Rahhal Date: Sun, 20 Apr 2025 20:21:57 -0700 Subject: [PATCH] fixed autoindentation --- options.nix | 4 ++-- plugins/treesitter.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/options.nix b/options.nix index 8595da4..ddfa6d5 100644 --- a/options.nix +++ b/options.nix @@ -54,8 +54,6 @@ winaltkeys = "no"; # Disable ALT keys for menu - autoindent = true; - smartindent = true; colorcolumn = "121"; laststatus = 3; @@ -81,6 +79,8 @@ expandtab = true; # Insert spaces when entering softtabstop = 4; # Number of spaces that a counts for while performing editing operations, like inserting a or using . It "feels" like a tab though ai = true; # auto indent + autoindent = true; + smartindent = false; }; ## ------------------------------------------------ diff --git a/plugins/treesitter.nix b/plugins/treesitter.nix index 22510a2..e96be00 100644 --- a/plugins/treesitter.nix +++ b/plugins/treesitter.nix @@ -29,7 +29,7 @@ }; }; indent = { - enable = true; + enable = false; }; }; };