From 8c88174cc99e36fc6cb919cea8044ebdfe533ed6 Mon Sep 17 00:00:00 2001 From: jwy Date: Sat, 31 Aug 2024 13:07:21 -0400 Subject: [PATCH] Changed options in neovim to have 2 space tabs Added auto-session neovim plugin --- nix-config/home/neovim.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nix-config/home/neovim.nix b/nix-config/home/neovim.nix index ecfc48eeb..faf4729ba 100644 --- a/nix-config/home/neovim.nix +++ b/nix-config/home/neovim.nix @@ -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; @@ -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;