From 88c7aa39da1be30e4942f99925e3af209a66bef1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 10 May 2023 20:32:46 +0100 Subject: [PATCH] chore(nvim): stop automated resizing --- lua/opdavies/options.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/opdavies/options.lua b/lua/opdavies/options.lua index a43a0fa..7f0aa0f 100644 --- a/lua/opdavies/options.lua +++ b/lua/opdavies/options.lua @@ -12,9 +12,6 @@ local function set_autocmd() autocmd FileType gitcommit setlocal textwidth=72 ]] - -- Automatically resize buffers when Vim is resized. - vim.api.nvim_create_autocmd("VimResized *", { command = ":wincmd =" }) - -- Cursorline highlighting control. -- Only have it on in the current buffer. local group = vim.api.nvim_create_augroup("CursorLineControl", { clear = true })