- 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
48 lines
799 B
Lua
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 = "?",
|
|
}
|
|
})
|