Kevin Hwang

Results 187 comments of Kevin Hwang

`provider_selector` return `''` only disables the providers to get folds. Disable virtual text must run `UfoDetach` Edit: Return a `{}` for `fold_virt_text_handler` or `handler` in `require('ufo').setFoldVirtTextHandler(bufnr, handler)` will only clear...

It's broken after recently refactoring, I will fix it tomorrow.

It should work as expected when `folelevel` is small. `foldmethod=manual` should better set a large value for `foldlevel`. I have no idea how to maintain a `my_foldlevel` to make `zm`...

With a small `foldlevel`, users should better call `require('ufo').disableFold(bufnr)` and `require('ufo').enableFold(bufnr)` by themselves.

nvim-ufo can provide the `marker` provider, but it's not able to combine the fold ranges between two providers using general setup. Must program yourself under `provider_selector` with `require('ufo').getFolds` API. https://github.com/kevinhwang91/nvim-ufo/blob/c412ff87165eb8712e2810799dfa90b728c40028/doc/example.lua#L20-L31

Even though I have no idea to fix it, please show path about `promise-async` and `promise.nvim`.

I think ufo can add post-installation to install `promise-async` inside the plugin, depending on the user who has a `promise` and `async` module outside ufo.

1. Pick a color from the external GUI when tuning color theme with Neovim. 2. Not popup window, but the color bg. ![image](https://user-images.githubusercontent.com/17562139/176453589-9196893b-b55a-45fe-901b-b54434648ffb.png)

sometimes I really want an option to truncate the long line. If with `less -RS`, the wrapping line symbol looks extremely ugly. ![image](https://user-images.githubusercontent.com/17562139/97003635-4ac5e080-156e-11eb-9be7-49d495b1d6f0.png)

> @kevinhwang91 can you give a full example of a diff that you can't display in the way you want, and show the delta settings you're using? Note that we...