my-nvim-setup/lua/custom_opts.lua

45 lines
3.6 KiB
Lua
Raw Normal View History

2024-02-15 11:13:37 +00:00
local function strsplit(inputstr, sep)
if sep == nil then
sep = "%s"
end
local t={}
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
table.insert(t, str)
end
return t
end
return {
file_explorer_title = "🥷 File Explorer",
tab_style = "thin", -- options: thin, thick, slope, slant
terminal_size = 0.7, -- control the float terminal only
window_transparency = 0,
auto_open_outline = false, -- options: true, false
cmdline_view = "cmdline", -- options: cmdline, cmdline_popup
close_message_notify = false,
-- Starting screen header.
home_header =
strsplit([[
]], "\n")
}