2023-05-14 13:40:39 +02:00
|
|
|
---@type LazyPluginSpec[]
|
2023-03-12 02:43:24 +01:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"nvim-tree/nvim-tree.lua",
|
|
|
|
opts = {
|
|
|
|
renderer = {
|
|
|
|
indent_markers = {
|
|
|
|
enable = true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
diagnostics = {
|
|
|
|
enable = true,
|
|
|
|
},
|
|
|
|
actions = {
|
|
|
|
file_popup = {
|
|
|
|
open_win_config = {
|
2023-06-12 05:46:16 +02:00
|
|
|
border = vim.g.bc.style,
|
2023-03-12 02:43:24 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
dependencies = {
|
|
|
|
"nvim-tree/nvim-web-devicons",
|
|
|
|
},
|
|
|
|
},
|
2023-06-22 23:17:12 +02:00
|
|
|
{
|
|
|
|
"nvim-tree/nvim-web-devicons",
|
|
|
|
config = function()
|
|
|
|
local devicons = require("nvim-web-devicons")
|
|
|
|
local justfile = {
|
2023-06-23 20:02:03 +02:00
|
|
|
icon = "",
|
2023-06-22 23:17:12 +02:00
|
|
|
name = "Justfile",
|
|
|
|
color = "#dea584",
|
|
|
|
}
|
|
|
|
devicons.setup({
|
|
|
|
override_by_extension = {
|
2023-07-01 20:23:44 +02:00
|
|
|
["astro"] = {
|
|
|
|
icon = "",
|
|
|
|
name = "Astro",
|
|
|
|
color = "#ff5d01",
|
|
|
|
},
|
2023-06-22 23:17:12 +02:00
|
|
|
["norg"] = {
|
2023-06-23 20:02:03 +02:00
|
|
|
icon = "",
|
2023-06-22 23:17:12 +02:00
|
|
|
name = "Neorg",
|
|
|
|
color = "#77aa99",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
override_by_filename = {
|
|
|
|
[".ecrc"] = {
|
2023-06-23 20:02:03 +02:00
|
|
|
icon = "",
|
2023-06-22 23:17:12 +02:00
|
|
|
name = "EditorConfigChecker",
|
|
|
|
color = "#a6e3a1",
|
|
|
|
},
|
|
|
|
[".envrc"] = {
|
2023-06-23 20:02:03 +02:00
|
|
|
icon = "",
|
2023-06-22 23:17:12 +02:00
|
|
|
name = "envrc",
|
|
|
|
color = "#faf743",
|
|
|
|
},
|
|
|
|
[".editorconfig"] = {
|
2023-06-23 20:02:03 +02:00
|
|
|
icon = "",
|
2023-06-22 23:17:12 +02:00
|
|
|
name = "EditorConfig",
|
|
|
|
color = "#a6e3a1",
|
|
|
|
},
|
|
|
|
[".luacheckrc"] = {
|
2023-06-23 20:02:03 +02:00
|
|
|
icon = "",
|
2023-06-22 23:17:12 +02:00
|
|
|
name = "LuacheckRC",
|
|
|
|
color = "#51a0cf",
|
|
|
|
},
|
|
|
|
[".Justfile"] = justfile,
|
|
|
|
[".justfile"] = justfile,
|
|
|
|
["Justfile"] = justfile,
|
|
|
|
["justfile"] = justfile,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
},
|
2023-03-12 02:43:24 +01:00
|
|
|
}
|