Skip to content

yaocccc/nvim-hlchunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIM HL CHUNK

hignlight chunk signcolumn plug of nvim

vim version: vim-hlchunk

sc

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


Buy Me A Coffee

About

hignlight chunk numbercolumn plug of nvim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published