From 9077b7846a22613e1112d52fb99866c081119d22 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Fri, 16 Feb 2024 21:42:24 -0500 Subject: [PATCH] some neovim --- nix/home-manager/modules/packages/neovim.nix | 2 -- nix/home-manager/modules/packages/neovim/core.lua | 2 +- nix/home-manager/modules/packages/neovim/pre.lua | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nix/home-manager/modules/packages/neovim.nix b/nix/home-manager/modules/packages/neovim.nix index ce6e620..fe5c7ae 100644 --- a/nix/home-manager/modules/packages/neovim.nix +++ b/nix/home-manager/modules/packages/neovim.nix @@ -84,14 +84,12 @@ extraPlugins = ( with pkgs.vimPlugins; [ - leap-nvim telescope-zf-native-nvim vim-ReplaceWithRegister vim-bbye vim-dispatch-neovim vim-expand-region vim-signify - vim-terraform ] ) ++ (with pkgs.vimExtraPlugins; [ diff --git a/nix/home-manager/modules/packages/neovim/core.lua b/nix/home-manager/modules/packages/neovim/core.lua index fd58c52..602a03a 100644 --- a/nix/home-manager/modules/packages/neovim/core.lua +++ b/nix/home-manager/modules/packages/neovim/core.lua @@ -1,4 +1,5 @@ vim.o.expandtab = true +vim.o.foldlevel = 2 vim.o.hidden = true vim.o.ignorecase = true vim.o.inccommand = "split" @@ -29,4 +30,3 @@ vim.api.nvim_create_autocmd('TextYankPost', { }) require('gitlinker').setup() - diff --git a/nix/home-manager/modules/packages/neovim/pre.lua b/nix/home-manager/modules/packages/neovim/pre.lua index 9e34be5..13ebd67 100644 --- a/nix/home-manager/modules/packages/neovim/pre.lua +++ b/nix/home-manager/modules/packages/neovim/pre.lua @@ -1,2 +1,3 @@ + vim.g.mapleader = " " vim.g.maplocalleader = ","