Cleaning up help autocmd
This commit is contained in:
parent
d56fed070e
commit
5eb58bd9c6
1 changed files with 1 additions and 5 deletions
|
@ -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,
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue