nvim.nix/config/options.nix

16 lines
531 B
Nix
Raw Permalink Normal View History

2024-08-08 09:58:48 +08:00
{...}: {
2024-08-04 21:19:37 +08:00
config.opts = {
# General
2024-08-08 09:58:48 +08:00
number = true; # Display line numbers.
showmode = false; # Do not show the mode we're editing in.
swapfile = false; # Disable vim swapfile.
clipboard = "unnamedplus"; # Use the clipboard for all operations.
2024-08-04 21:19:37 +08:00
# Tabs & Spaces
2024-08-08 09:58:48 +08:00
tabstop = 2; # Set the width of a tab character.
softtabstop = 2; # Set the number of columns for a tab.
shiftwidth = 2; # Set the number of spaces for each step of (auto)indent.
expandtab = true; # Convert tabs to spaces.
2024-08-04 21:19:37 +08:00
};
}