feat(nvim): better indent lines
This commit is contained in:
parent
d92b15190a
commit
f81087afec
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user