Cleaning up help autocmd

This commit is contained in:
Imbus 2024-08-04 09:33:12 +02:00
parent d56fed070e
commit 5eb58bd9c6

View file

@ -5,9 +5,5 @@
-- This is almost certainly a hacky way to do this) -- This is almost certainly a hacky way to do this)
vim.api.nvim_create_autocmd('FileType', { vim.api.nvim_create_autocmd('FileType', {
pattern = { 'help' }, pattern = { 'help' },
callback = function() command = 'wincmd L',
vim.schedule(function()
vim.cmd 'wincmd L'
end)
end,
}) })