summaryrefslogtreecommitdiffstats
path: root/lua/core/overrides/indentblankline.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/core/overrides/indentblankline.lua')
-rw-r--r--lua/core/overrides/indentblankline.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/core/overrides/indentblankline.lua b/lua/core/overrides/indentblankline.lua
new file mode 100644
index 0000000..0e43c22
--- /dev/null
+++ b/lua/core/overrides/indentblankline.lua
@@ -0,0 +1,22 @@
+if copts.tablines == 'colored' then
+ require("indent_blankline").setup {
+ space_char_blankline = ' ',
+ char_highlight_list = {
+ 'IndentBlanklineIndent1',
+ 'IndentBlanklineIndent2',
+ 'IndentBlanklineIndent3',
+ 'IndentBlanklineIndent4',
+ 'IndentBlanklineIndent5',
+ 'IndentBlanklineIndent6',
+ },
+ }
+elseif copts.tablines == 'wrap' then
+ o.list = true
+ require('indent_blankline').setup {
+ space_char_blankline = ' ',
+ show_current_context = true,
+ show_current_context_start = true,
+ }
+else
+ g.indent_blankline_char = ' '
+end