Move NvimTree file explorer to left side
- Change side from 'right' to 'left' in nvim-tree.lua - Update edgy.nvim config to place NvimTree in left panel
This commit is contained in:
50
lua/cargdev/plugins/hlchunk.lua
Normal file
50
lua/cargdev/plugins/hlchunk.lua
Normal file
@@ -0,0 +1,50 @@
|
||||
return {
|
||||
"shellRaining/hlchunk.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
require("hlchunk").setup({
|
||||
chunk = {
|
||||
enable = true,
|
||||
priority = 15,
|
||||
style = {
|
||||
{ fg = "#806d9c" },
|
||||
{ fg = "#c21f30" },
|
||||
},
|
||||
use_treesitter = true,
|
||||
chars = {
|
||||
horizontal_line = "─",
|
||||
vertical_line = "│",
|
||||
left_top = "╭",
|
||||
left_bottom = "╰",
|
||||
right_arrow = ">",
|
||||
},
|
||||
textobject = "",
|
||||
max_file_size = 1024 * 1024,
|
||||
error_sign = true,
|
||||
duration = 200,
|
||||
delay = 300,
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
priority = 10,
|
||||
style = { { fg = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID("Whitespace")), "fg", "gui") } },
|
||||
use_treesitter = false,
|
||||
chars = { "│" },
|
||||
ahead_lines = 5,
|
||||
delay = 100,
|
||||
},
|
||||
line_num = {
|
||||
enable = true,
|
||||
priority = 10,
|
||||
style = "#806d9c",
|
||||
use_treesitter = false,
|
||||
},
|
||||
blank = {
|
||||
enable = false,
|
||||
priority = 9,
|
||||
chars = { "․" },
|
||||
style = { { bg = "cursorline" }, { bg = "", fg = "" } },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user