kevinhwang91 / nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.
BSD 3-Clause "New" or "Revised" License
2.34k stars 49 forks source link

UfoDisable throws an error #14

Closed khalidchawtany closed 2 years ago

khalidchawtany commented 2 years ago

Neovim version (nvim -v | head -n1)

NVIM v0.8.0-dev+nightly-652-g2aac5710

Operating system/version

MacOS 12.4

How to reproduce the issue

  1. nvim
  2. UfoDisable

E5108: Error executing lua ...re/nvim/site/pack/packer/start/nvim-ufo/lua/ufo/main.lua:28: Vim(autocmd):E216: No such group or event: Ufo stack traceback: [C]: in function 'cmd' ...re/nvim/site/pack/packer/start/nvim-ufo/lua/ufo/main.lua:28: in function 'destroyEvents' ...re/nvim/site/pack/packer/start/nvim-ufo/lua/ufo/main.lua:70: in function 'disable' ...l/share/nvim/site/pack/packer/start/nvim-ufo/lua/ufo.lua:35: in function 'disable' [string ":lua"]:1: in main chunk

Expected behavior

Throws an error

Actual behavior

Not to throw error :)