Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaocccc/nvim-hlchunk
hignlight chunk numbercolumn plug of nvim
https://github.com/yaocccc/nvim-hlchunk
Last synced: 14 days ago
JSON representation
hignlight chunk numbercolumn plug of nvim
- Host: GitHub
- URL: https://github.com/yaocccc/nvim-hlchunk
- Owner: yaocccc
- License: mit
- Created: 2021-09-15T03:28:38.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T16:12:01.000Z (over 1 year ago)
- Last Synced: 2024-07-31T20:51:48.589Z (3 months ago)
- Language: Vim Script
- Size: 742 KB
- Stars: 48
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
- awesome-neovim - yaocccc/nvim-hlchunk - Highlight a `{}` chunk. (Formatting / Indent)
README
# VIM HL CHUNK
hignlight chunk signcolumn plug of nvim
vim version: [vim-hlchunk](https://github.com/yaocccc/vim-hlchunk)
![sc](./screenshots/01.gif)
## OPTIONS
```options
ENGLISH
" what files are supported, default '*.ts,*.js,*.json,*.go,*.c,*.cpp,*.rs,*.h,*.hpp,*.lua'
let g:hlchunk_files = '*.ts,*.js,*.json,*.go,*.c,*.cpp,*.rs,*.h,*.hpp,*.lua'
" hlchunk indentline highlight
au VimEnter * hi HLIndentLine ctermfg=244
" delay default 50
let g:hlchunk_time_delay = 50
" indentline chars(Anti-Clockwise) default ['─', '─', '╭', '│', '╰', '─', '>']
let g:hlchunk_chars=['─', '─', '╭', '│', '╰', '─', '>']
" hlchunk_line_limit default 5000
let g:hlchunk_line_limit = 5000
" hlchunk_col_limit default 500
let g:hlchunk_col_limit = 500
" hi style default 'ctermfg=244'
let g:hlchunk_hi_style = 'ctermfg=244'中文
" 支持哪些文件 默认为 '*.ts,*.js,*.json,*.go,*.c,*.cpp,*.rs,*.h,*.hpp,*.lua'
let g:hlchunk_files = '*.ts,*.js,*.json,*.go,*.c,*.cpp,*.rs,*.h,*.hpp,*.lua'
" 缩进线的高亮
au VimEnter * hi HLIndentLine ctermfg=244
" 延时 默认为50
let g:hlchunk_time_delay = 50
" 高亮线符号(逆时针) 默认为 ['─', '─', '╭', '│', '╰', '─', '>']
let g:hlchunk_chars=['─', '─', '╭', '│', '╰', '─', '>']
" 最大支持行数 默认3000(超过5000行的文件不使用hlchunk)
let g:hlchunk_line_limit = 5000
" 最大支持列数 默认100(超过500列的文件不使用hlchunk)
let g:hlchunk_col_limit = 500
" 高亮线的hi样式 默认为 'ctermfg=244'
let g:hlchunk_hi_style = 'ctermfg=244'
```## Support