Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaocccc/nvim-foldsign
Display folding info on sign column
https://github.com/yaocccc/nvim-foldsign
Last synced: about 2 months ago
JSON representation
Display folding info on sign column
- Host: GitHub
- URL: https://github.com/yaocccc/nvim-foldsign
- Owner: yaocccc
- License: mit
- Created: 2023-02-20T09:33:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-22T08:46:15.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T20:50:52.832Z (4 months ago)
- Language: Lua
- Size: 65.4 KB
- Stars: 33
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
- awesome-neovim - yaocccc/nvim-foldsign - Display folds on sign column. (Utility / Cursorline)
README
# NVIM FOLDSIGN
Display folding info on sign column
![avatar](screenshot.png)
## Usage
```plaintext
-- Packer demo
use { 'yaocccc/nvim-foldsign', event = 'CursorHold', config = 'require("nvim-foldsign").setup()' }
```## Config
```lua
require('nvim-foldsign').setup({
offset = -2,
foldsigns = {
open = '-', -- mark the beginning of a fold
close = '+', -- show a closed fold
seps = { '│', '┃' }, -- open fold middle marker
}
})
```## Highlight Group
Just `FoldColumn`
## Support