From bcbdcabd32ae5eda187ef249eba147502f315495 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 --- config/neovim/lua/opdavies/options.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/neovim/lua/opdavies/options.lua b/config/neovim/lua/opdavies/options.lua index a43a0fa7..7f0aa0fe 100644 --- a/config/neovim/lua/opdavies/options.lua +++ b/config/neovim/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 })