my-nvim-setup/lua/custom_opts.lua

47 lines
3.6 KiB
Lua
Raw Normal View History

2024-02-15 11:13:37 +00:00
local function strsplit(inputstr, sep)
2024-03-05 06:54:50 +00:00
if sep == nil then
sep = "%s"
end
local t = {}
for str in string.gmatch(inputstr, "([^" .. sep .. "]+)") do
table.insert(t, str)
end
return t
2024-02-15 11:13:37 +00:00
end
return {
2024-03-05 06:54:50 +00:00
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,
2024-02-15 11:13:37 +00:00
2024-03-05 06:54:50 +00:00
-- Starting screen header.
home_header = strsplit(
[[
2024-02-15 11:13:37 +00:00
2024-03-05 06:54:50 +00:00
]],
"\n"
),
2024-02-15 11:13:37 +00:00
}