diff options
| author | Robert Günzler <r@gnzler.io> | 2021-11-02 17:54:43 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-11-02 19:06:49 +0100 |
| commit | 1a5902adde7271bd6743d79b51fc6c473e15b0af (patch) | |
| tree | 56213b4669306836df30b21b6ea120032817e9b1 /.vim/lua/plugins.lua | |
| parent | 2a31c9ad0dae014fb2c82b09df6e7e0e3f7db079 (diff) | |
vim: configure indent-blankline
Diffstat (limited to '.vim/lua/plugins.lua')
| -rw-r--r-- | .vim/lua/plugins.lua | 18 |
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 |