Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lambdalisue/vim-readablefold

A Vim plugin to improve foldtext for better looks
https://github.com/lambdalisue/vim-readablefold

fold neovim vim

Last synced: 12 days ago
JSON representation

A Vim plugin to improve foldtext for better looks

Awesome Lists containing this project

README

        

# readablefold.vim

![Support Vim 8.0 or above](https://img.shields.io/badge/support-Vim%208.0%20or%20above-yellowgreen.svg)
![Support Neovim 0.4 or above](https://img.shields.io/badge/support-Neovim%200.4%20or%20above-yellowgreen.svg)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

A Vim plugin to improve `foldtext` for better looks.

![readablefold](https://user-images.githubusercontent.com/546312/85946852-3556f600-b982-11ea-860c-eff7473571eb.png)

- Tried to maximize the performance while `foldtext` is called frequently
- Fold text is started from the content rather than the number of lines
- Fold level is displayed as the number of `|` at the end of line