kevinhwang91 / nvim-ufo

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

can't fold using LSP with yaml file. #128

Closed hungvx-dev closed 1 year ago

hungvx-dev commented 1 year ago

Neovim version (nvim -v | head -n1)

Nvim 0.9

Operating system/version

macOS Ventura

How to reproduce the issue

When opening a YAML file, an error occurs:

image

This is my config:

image image

Expected behavior

none

Actual behavior

none

kevinhwang91 commented 1 year ago

https://github.com/kevinhwang91/nvim-ufo/issues/127

hungvx-dev commented 1 year ago

@kevinhwang91 Thank you. I fixed it.

image

Set folding after when getting capabilities from cmp