kevinhwang91 / nvim-ufo

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

Need ufo.preview.winbar file #84

Closed rhcher closed 1 year ago

rhcher commented 1 year ago

Neovim version (nvim -v | head -n1)

NVIM v0.8.0-dev-1194-ga80ab395a-dirty

Operating system/version

wsl2 Arch

How to reproduce the issue

cat mini.lua

-- Use Vim packages install the plugin, also work with some plugins manager such as packer.nvim
vim.o.packpath = '~/.local/share/nvim/site'
vim.cmd('packadd promise-async')
vim.cmd('packadd nvim-ufo')

-- Setting
vim.o.foldcolumn = '1'
vim.o.foldlevel = 99
vim.o.foldlevelstart = -1
vim.o.foldenable = true

local ufo = require('ufo')
ufo.setup()
vim.keymap.set('n', 'zR', ufo.openAllFolds)
vim.keymap.set('n', 'zM', ufo.closeAllFolds)

nvim --clean +'so mini.lua'

Expected behavior

Have this file

Actual behavior

No such file

dhruvinsh commented 1 year ago

Yes, ufo/preview/winbar.lua is misisng.

I just reveiew the commit.

kevinhwang91 commented 1 year ago

Damn, you are so fast.