mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
45 lines
628 B
Lua
45 lines
628 B
Lua
local bridge = require("codemp.neo-tree.bridge")
|
|
|
|
local M = { name = "codemp" }
|
|
|
|
M.navigate = function(state, path)
|
|
if path == nil then
|
|
path = vim.fn.getcwd()
|
|
end
|
|
state.path = path
|
|
bridge.update_state(state)
|
|
end
|
|
|
|
M.setup = function(config, global_config)
|
|
end
|
|
|
|
M.default_config = {
|
|
renderers = {
|
|
spacer = {
|
|
{ "indent" },
|
|
},
|
|
root = {
|
|
{ "icon" },
|
|
{ "name" },
|
|
},
|
|
workspace = {
|
|
{ "indent" },
|
|
{ "icon" },
|
|
{ "name" },
|
|
},
|
|
user = {
|
|
{ "indent" },
|
|
{ "icon" },
|
|
{ "name" },
|
|
},
|
|
buffer = {
|
|
{ "indent" },
|
|
{ "icon" },
|
|
{ "name" },
|
|
{ "spacer" },
|
|
{ "users" },
|
|
},
|
|
},
|
|
}
|
|
|
|
return M
|