-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathsidebar.lua
More file actions
29 lines (26 loc) · 750 Bytes
/
sidebar.lua
File metadata and controls
29 lines (26 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
local M = {}
M.config = function()
local status_ok, sidebar = pcall(require, "sidebar-nvim")
if not status_ok then
return
end
sidebar.setup {
open = false,
initial_width = 30,
enable_profile = false,
sections = { "datetime", "git", "diagnostics", "containers" },
datetime = {
icon = "",
format = "%a %b %d, %H:%M",
clocks = {
{ name = "local" },
},
},
todos = {
icon = "",
ignored_paths = { "~" }, -- ignore certain paths, this will prevent huge folders like $HOME to hog Neovim with TODO searching
initially_closed = false, -- whether the groups should be initially closed on start. You can manually open/close groups later.
},
}
end
return M