This commit is contained in:
Amosnimos
2024-10-10 11:49:47 +13:00
committed by GitHub

View File

@@ -42,18 +42,26 @@ xmap <Leader>l <Plug>(Limelight)
### Options ### Options
For some color schemes, Limelight may not be able to calculate the color for For some color schemes, Limelight may not be able to calculate the color for
dimming down the surrounding paragraphs. In that case, you need to define dimming down the surrounding paragraphs. In that case, you need to define it manually
`g:limelight_conceal_ctermfg` or `g:limelight_conceal_guifg`. in your .vimrc file. you can do so by adding `g:limelight_conceal_ctermfg=` or `g:limelight_conceal_guifg=`
followed by the color of your choosing. (To see the available color for each you can type ":help cterm-colors" or ":help gui-colors".)
Here's some line examples of what it should look like, but feel free to change the color name to suite your needs.
```vim ```vim
" Color name (:help cterm-colors) or ANSI code " Color name (:help cterm-colors) or ANSI code
let g:limelight_conceal_ctermfg = 'gray' let g:limelight_conceal_ctermfg = 'gray'
" Or
let g:limelight_conceal_ctermfg = 240 let g:limelight_conceal_ctermfg = 240
" Color name (:help gui-colors) or RGB color " Color name (:help gui-colors) or RGB color
let g:limelight_conceal_guifg = 'DarkGray' let g:limelight_conceal_guifg = 'DarkGray'
" Or
let g:limelight_conceal_guifg = '#777777' let g:limelight_conceal_guifg = '#777777'
"Some other example of line you might whant to try --->
" Default: 0.5 " Default: 0.5
let g:limelight_default_coefficient = 0.7 let g:limelight_default_coefficient = 0.7