mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-28 03:44:57 -04:00
20 lines
409 B
Lua
20 lines
409 B
Lua
local M = {}
|
|
|
|
function M.setup()
|
|
local aerial = require("aerial")
|
|
local conf = {
|
|
backends = { "treesitter", "lsp", "markdown", "man" },
|
|
float = {
|
|
relative = "win",
|
|
override = function(conf)
|
|
local padding = 1
|
|
conf.anchor = 'NE'
|
|
conf.row = padding
|
|
conf.col = vim.api.nvim_win_get_width(0) - padding
|
|
return conf
|
|
end,
|
|
},
|
|
}
|
|
aerial.setup(conf)
|
|
end
|
|
return M
|