Skip to content

Commit

Permalink
Changed options in neovim to have 2 space tabs
Browse files Browse the repository at this point in the history
Added auto-session neovim plugin
  • Loading branch information
jwyuen committed Aug 31, 2024
1 parent 45d3040 commit 8c88174
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions nix-config/home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ in {
clipboard="unnamedplus";
number = true; # Show line numbers
relativenumber = true; # Show relative line numbers
shiftwidth = 2; # Tab width should be 2
tabstop = 2;
softtabstop = 2;
smartindent = true;
shiftwidth = 2; # Tab width should be 2
expandtab = true;
wrap = true;
swapfile = false;
backup = false;
Expand Down Expand Up @@ -47,6 +48,14 @@ in {
};

plugins = {
auto-session = {
enable = true;
# autoRestore.enabled = true;
# autoSave.enabled = true;
autoSession = {
enabled = true;
};
};
barbecue.enable = true;
bufferline.enable = true;
comment.enable = true;
Expand Down

0 comments on commit 8c88174

Please sign in to comment.