handsome highlightline

This commit is contained in:
Chris 2021-03-25 23:24:05 -04:00
parent 5b72ca3a9e
commit d6a3859452
2 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,14 @@
AUTO_COMPLETE=true
-- make list of languages
AUTO_FORMAT=true
-- ideas
--[[
nv.format.python='black'
nv.format.python='yapf'
nv.format.python='autopep8'
]]

View file

@ -1,6 +1,11 @@
vim.g.indent_blankline_buftype_exclude = {'terminal'}
vim.g.indent_blankline_filetype_exclude = {'help', 'startify', 'dashboard', 'packer', }
vim.g.indent_blankline_filetype_exclude = {'help', 'startify', 'dashboard', 'packer'}
vim.g.indent_blankline_char = ''
vim.g.indent_blankline_use_treesitter=true
-- vim.g.indent_blankline_show_current_context = true
-- vim.g.indent_blankline_context_patterns = {'class', 'function', 'method', '^if', '^while', 'div', '^for', '^object', '^table', 'block', 'arguments'}
vim.g.indent_blankline_use_treesitter = true
vim.g.indent_blankline_show_trailing_blankline_indent = false
vim.g.indent_blankline_show_current_context = true
vim.g.indent_blankline_context_patterns = {
'class', 'return', 'function', 'method', '^if', '^while', 'jsx_element', '^for', '^object', '^table', 'block',
'arguments', 'if_statement', 'else_clause', 'jsx_element', 'jsx_self_closing_element', 'try_statement',
'catch_clause'
}