|
|
|
@ -4,13 +4,23 @@ if not present then
|
|
|
|
|
return
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
vim.cmd [[
|
|
|
|
|
function! Toggle_theme(a,b,c,d)
|
|
|
|
|
lua require('base46').toggle_theme()
|
|
|
|
|
endfunction
|
|
|
|
|
|
|
|
|
|
function! Quit_vim(a,b,c,d)
|
|
|
|
|
qa
|
|
|
|
|
endfunction
|
|
|
|
|
]]
|
|
|
|
|
|
|
|
|
|
local options = {
|
|
|
|
|
options = {
|
|
|
|
|
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
|
|
|
|
|
buffer_close_icon = "",
|
|
|
|
|
modified_icon = "",
|
|
|
|
|
close_icon = "",
|
|
|
|
|
show_close_icon = true,
|
|
|
|
|
show_close_icon = false,
|
|
|
|
|
left_trunc_marker = "",
|
|
|
|
|
right_trunc_marker = "",
|
|
|
|
|
max_name_length = 14,
|
|
|
|
@ -24,6 +34,16 @@ local options = {
|
|
|
|
|
always_show_bufferline = true,
|
|
|
|
|
diagnostics = false,
|
|
|
|
|
themable = true,
|
|
|
|
|
|
|
|
|
|
custom_areas = {
|
|
|
|
|
right = function()
|
|
|
|
|
return {
|
|
|
|
|
{ text = "%@Toggle_theme@" .. vim.g.toggle_theme_icon .. "%X" },
|
|
|
|
|
{ text = "%@Quit_vim@ %X" },
|
|
|
|
|
}
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
custom_filter = function(buf_number)
|
|
|
|
|
-- Func to filter out our managed/persistent split terms
|
|
|
|
|
local present_type, type = pcall(function()
|
|
|
|
|