diff --git a/config/options.nix b/config/options.nix index eb1a996..d399e6a 100644 --- a/config/options.nix +++ b/config/options.nix @@ -7,5 +7,15 @@ # show spaces tabs and trailing spaces list = true; listchars = "tab:» ,trail:·,multispace:·,lead: ,nbsp:⎕"; + + # when i press tab i want to see spaces + expandtab = true; + tabstop = 4; # Number of spaces that a in the file counts for. + shiftwidth = 4; # how many spaces are added in an indent + softtabstop = 4; # how many spaces are added when pressing tab + smarttab = true; # When on, a in front of a line inserts blanks according to 'shiftwidth'. 'tabstop' or 'softtabstop' is used in other places. + # TODO: i want to see 4 spaces when i press tab in python and 2 spaces in nix using setlocal + # is it possible for me to set this per language? + }; } diff --git a/flake.nix b/flake.nix index 3a956f0..3b30d51 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "NixVim config heavily inspired by AstroNvim"; + description = "My custom neovim configuration that has been mixed and matched from various sources"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";