summary refs log tree commit diff
path: root/.vim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vim/lua/plugins.lua18
1 files changed, 16 insertions, 2 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index f586b3e..ee00949 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -417,13 +417,27 @@ return require('packer').startup({function()
       }
     end} -- }}}
 
-  use {'lukas-reineke/indent-blankline.nvim',
+  use {'lukas-reineke/indent-blankline.nvim', -- {{{
     config = function()
       require('indent_blankline').setup {
         char = '▏',
+        char_highlight_list = {'Whitespace'},
+        -- space_char = ' ',
+        -- space_char_highlight_list = {},
+        show_first_indent_level = true,
+        show_trailing_blankline_indent = false,
         show_end_of_line = true,
+        use_treesitter = true,
+        disable_with_nolist = true,
+        buftype_exclude = {'terminal'},
+        bufname_exclude = {'README.md'},
+        strict_tabs = true,
+        show_current_context = true,
+        context_patterns = {'class', 'function', 'method', 'block'},
+        -- context_highlight_list = {'Folded'},
+        context_highlight_list = {'deEmph'},
       }
-    end}
+    end} -- }}}
 
   use {'tpope/vim-repeat'} -- extend '.' to plugins
   use {'michaeljsmith/vim-indent-object'} -- indentation text-objects