26 lines
477 B
Lua
26 lines
477 B
Lua
-- Visual indentation and chunks
|
|
|
|
MiniDeps.add({
|
|
name = 'hlchunk',
|
|
source = 'shellRaining/hlchunk.nvim',
|
|
require = {
|
|
"nvim-treesitter/nvim-treesitter"
|
|
},
|
|
})
|
|
|
|
require("hlchunk").setup({
|
|
indent = {
|
|
enable = true,
|
|
use_treesitter = true,
|
|
chars = {
|
|
-- "|"
|
|
"░"
|
|
-- "▌"
|
|
},
|
|
|
|
{ bg = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID("Whitespace")), "fg", "gui") },
|
|
},
|
|
-- Exclude default filetypes
|
|
exclude_filetype = exclude_ft,
|
|
})
|