chore(nvim): stop automated resizing

This commit is contained in:
Oliver Davies 2023-05-10 20:32:46 +01:00
parent a779e665ae
commit 88c7aa39da

View file

@ -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 })