Files
nvim/lua/core/overrides/sfm.lua

41 lines
701 B
Lua

local sfm = require('sfm')
sfm.setup {
view = {
side = "left", -- side of the tree, can be `left`, `right`
width = 30
},
mappings = {
custom_only = false,
},
renderer = {
icons = {
file = {
default = "#",
symlink = "#",
},
folder = {
default = "[|",
open = "[/",
symlink = "[|",
symlink_open = "[/",
},
indicator = {
folder_closed = "",
folder_open = "",
file = "",
},
}
},
}:load_extension('sfm-git', {
icons = {
staged = "^",
unstaged = "+",
unmerged = "",
renamed = ">",
untracked = "?",
deleted = "x",
ignored = "#"
}
})