Closed folliehiyuki closed 2 years ago
i have the same issue, this autocmd doesn't work anymore
autocmd FileType alpha nnoremap <silent> <buffer> q :q<CR>
ok cool, i will revert the change. i tested it on my machine and it worked, so sorry about that everyone
anyways, this is supposed to have some observable speedup for some people depending on their config, so eventually i should figure out a migration plan that hopefully won't break anyone's configs. maybe it would also be beneficial to figure out how to improve the performance of whatever autocmd is taking so long upstream, even if you have a bunch of ftplugins it feels like firing filetype autocmds should be O(1) in the number of ftplugins you have
noautocmd was reintroduced as an opt in config option here https://github.com/goolord/alpha-nvim/commit/7ceb62ed560d7989585732728240db3ebffc5692
I tried out the new noautocmd = true
option with the new autocmd and it seems my neovim loading time speed up a few ms :) Thanks for the hard work
After commit 658aff2, setting
autocmd FileType alpha set showtabline=0 | autocmd BufUnload <buffer> set showtabline=2
won't work anymore (all autocmds are now disabled for the filetype alpha)Doing this help getting the behavior back.
But if the commit was intended, is there a workaround (instead of touching the code like above)?