2022-02-28 14:54:52 +00:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.config()
|
2023-01-10 18:21:09 +00:00
|
|
|
local status_ok, indent_blankline = pcall(require, 'indent_blankline')
|
2022-02-28 14:54:52 +00:00
|
|
|
if not status_ok then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2023-01-10 18:21:09 +00:00
|
|
|
-- vim.opt.list = true
|
|
|
|
-- vim.opt.listchars:append "space:⋅"
|
|
|
|
-- vim.opt.listchars:append "eol:↴"
|
2022-02-28 14:54:52 +00:00
|
|
|
|
2023-01-10 18:21:09 +00:00
|
|
|
indent_blankline.setup({
|
2022-03-01 00:29:01 +00:00
|
|
|
show_current_context = false,
|
2022-02-28 14:54:52 +00:00
|
|
|
show_current_context_start = false,
|
2023-01-10 18:21:09 +00:00
|
|
|
-- show_end_of_line = true,
|
|
|
|
-- space_char_blankline = " ",
|
|
|
|
})
|
2022-02-28 14:54:52 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|