diff options
| -rw-r--r-- | .vim/lua/plugins.lua | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index cc81aed..dc1c60b 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -95,22 +95,23 @@ local pluginspec = { opts = { 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, + -- show_trailing_blankline_indent = false, + -- show_end_of_line = true, use_treesitter = true, - disable_with_nolist = true, - buftype_exclude = { 'terminal' }, - bufname_exclude = { 'README.md' }, filetype_exclude = { 'alpha' }, - strict_tabs = true, - show_current_context = true, - context_patterns = { 'class', 'function', 'method', 'block' }, + -- strict_tabs = true, + show_current_context = false, + -- context_patterns = { 'class', 'function', 'method', 'block' }, -- context_highlight_list = {'Folded'}, context_highlight_list = { 'deEmph' }, }, + keys = { + { + '<leader>ti', + [[:IndentBlanklineToggle!<cr>]], + desc = 'toggle indent-blankline', + }, + }, }, { @@ -713,6 +714,7 @@ local pluginspec = { { 'NMAC427/guess-indent.nvim', + lazy = false, opts = { auto_cmd = true, filetype_exclude = { 'netrw', 'tutor', 'dirbuf' }, |