feat(nvim): better indent lines

This commit is contained in:
Price Hiller 2022-09-04 15:17:51 -05:00
parent d92b15190a
commit f81087afec

View File

@ -1,24 +1,25 @@
local g = vim.g local g = vim.g
g.indent_blankline_char = '' -- g.indent_blankline_char = '▏'
g.indent_blankline_context_char = '' -- g.indent_blankline_context_char = '▏'
-- Disable indent-blankline on these pages. -- Disable indent-blankline on these pages.
g.indent_blankline_filetype_exclude = { g.indent_blankline_filetype_exclude = {
'help', "help",
'terminal', "terminal",
'alpha', "alpha",
'packer', "packer",
'lsp-installer', "lsp-installer",
'lspinfo', "lspinfo",
'mason.nvim', "mason.nvim",
"mason",
} }
g.indent_blankline_buftype_exclude = { 'terminal' } g.indent_blankline_buftype_exclude = { "terminal" }
g.indent_blankline_show_trailing_blankline_indent = false g.indent_blankline_show_trailing_blankline_indent = false
g.indent_blankline_show_first_indent_level = true g.indent_blankline_show_first_indent_level = true
require('indent_blankline').setup({ require("indent_blankline").setup({
-- space_char_blankline = " ", -- space_char_blankline = " ",
show_current_context = true, show_current_context = true,
show_current_context_start = true, show_current_context_start = true,