From 43cd359e6c61c894c6abf8931c772b89692758a9 Mon Sep 17 00:00:00 2001 From: Amos Nimos <76786560+AmosNimos@users.noreply.github.com> Date: Mon, 7 Jun 2021 10:56:42 -0400 Subject: [PATCH 1/2] Updated the README.md to make it clearer for noob I changed the part about the issue where Limelight is not be able to calculate the color, to make it clearer what we are suppose to do to fix the issue when it happen, avoiding the confusion of how do i "define it" where do i "define it" "which part of this code fix the issue ?" i tried to answer those question to the best of my ability, also making clear that the example are individual line example. --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a76d81..1d5b4a2 100644 --- a/README.md +++ b/README.md @@ -31,18 +31,26 @@ xmap l (Limelight) ### Options 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 -`g:limelight_conceal_ctermfg` or `g:limelight_conceal_guifg`. +dimming down the surrounding paragraphs. In that case, you need to define it manually +in your .vimrc file. you can do so by adding `g:limelight_conceal_ctermfg=` or `g:limelight_conceal_guifg=` +followed by the clor 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 " Color name (:help cterm-colors) or ANSI code let g:limelight_conceal_ctermfg = 'gray' +" Or let g:limelight_conceal_ctermfg = 240 + " Color name (:help gui-colors) or RGB color let g:limelight_conceal_guifg = 'DarkGray' +" Or let g:limelight_conceal_guifg = '#777777' +"Some other example of line you might whant to try ---> + " Default: 0.5 let g:limelight_default_coefficient = 0.7 From 61faf12b3dfc40f7c5c57d4cc6b83a3b178e5156 Mon Sep 17 00:00:00 2001 From: Amos Nimos <76786560+AmosNimos@users.noreply.github.com> Date: Mon, 7 Jun 2021 10:58:45 -0400 Subject: [PATCH 2/2] Update README.md fixed a typo "clor" to "color", better a good explanation with typo then a bad explanation still. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d5b4a2..bb0ab2f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ xmap l (Limelight) 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 it manually in your .vimrc file. you can do so by adding `g:limelight_conceal_ctermfg=` or `g:limelight_conceal_guifg=` -followed by the clor of your choosing. (To see the available color for each you can type ":help cterm-colors" or ":help gui-colors".) +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.