Files
nvim/after/plugin/sfm.lua
Squibid 339be88db2 kitchen sink:
- add code action previews
- change indent blankline style
- more luasnip snippets
- change default mason stuff
- customize neorg more
- change notify style
- change startpage completely
- add line info to statusline
- change telescope style
- change how todo comments look
- make indentation work via treesitter
2023-10-22 18:17:21 -04:00

48 lines
799 B
Lua

local status_ok, sfm = pcall(require, "sfm")
if not status_ok then
return
end
sfm.setup {
view = {
side = 'right',
width = 35,
},
mappings = {
custom_only = false,
list = {
{ key = 's', action = 'toggle_selection' }
}
},
renderer = {
icons = {
file = {
default = "#",
symlink = "#",
},
folder = {
default = "[|",
open = "[/",
symlink = "[|",
symlink_open = "[/",
},
indicator = {
folder_closed = "",
folder_open = "",
file = "",
},
selection = "*"
}
}
}:load_extension('sfm-git', {
icons = {
unstaged = "+",
staged = "S",
unmerged = "U",
renamed = "r",
untracked = "?",
deleted = "-",
ignored = "?",
}
})