From d0cf9f872220009d2a850ecdf1847b4412adbd20 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Thu, 23 Nov 2023 07:45:43 -0700 Subject: [PATCH] Disable automatic window resizing. --- jrpotter/neovim/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jrpotter/neovim/default.nix b/jrpotter/neovim/default.nix index cda059b..c558eee 100644 --- a/jrpotter/neovim/default.nix +++ b/jrpotter/neovim/default.nix @@ -115,10 +115,11 @@ in vim.g.mapleader = ' ' vim.g.maplocalleader = '\\' vim.o.colorcolumn = '80,100' - vim.o.expandtab = true -- Spaces instead of tabs. - vim.o.list = true -- Show hidden characters. - vim.o.shiftwidth = 2 -- # of spaces to use for each (auto)indent. - vim.o.tabstop = 2 -- # of spaces a in the file counts for. + vim.o.equalalways = false -- Disable auto window resize. + vim.o.expandtab = true -- Spaces instead of tabs. + vim.o.list = true -- Show hidden characters. + vim.o.shiftwidth = 2 -- # of spaces to use for each (auto)indent. + vim.o.tabstop = 2 -- # of spaces a in the file counts for. '') ]; };