summaryrefslogtreecommitdiff
path: root/.config/nvim/vim-script/_limelight
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-18 22:19:57 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-03-18 22:19:57 +0100
commite6fed655e18343e6e399e8198346466effe8c3a8 (patch)
treecdae8ac05aa014a4970f3bdf656cb297527780e5 /.config/nvim/vim-script/_limelight
parent55517dded759e1dd4381792985a6d7fb88df8a1e (diff)
Fix nvim lua scripts
Diffstat (limited to '.config/nvim/vim-script/_limelight')
-rw-r--r--.config/nvim/vim-script/_limelight/init.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/vim-script/_limelight/init.vim b/.config/nvim/vim-script/_limelight/init.vim
new file mode 100644
index 0000000..4e9bf10
--- /dev/null
+++ b/.config/nvim/vim-script/_limelight/init.vim
@@ -0,0 +1,23 @@
+" Color name (:help cterm-colors) or ANSI code
+let g:limelight_conceal_ctermfg = 'gray'
+let g:limelight_conceal_ctermfg = 240
+
+" Color name (:help gui-colors) or RGB color
+let g:limelight_conceal_guifg = 'DarkGray'
+let g:limelight_conceal_guifg = '#777777'
+
+" Default: 0.5
+let g:limelight_default_coefficient = 0.7
+
+" Number of preceding/following paragraphs to include (default: 0)
+let g:limelight_paragraph_span = 1
+
+" Beginning/end of paragraph
+" When there's no empty line between the paragraphs
+" and each paragraph starts with indentation
+let g:limelight_bop = '^\s'
+let g:limelight_eop = '\ze\n^\s'
+
+" Highlighting priority (default: 10)
+" Set it to -1 not to overrule hlsearch
+let g:limelight_priority = -1