mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-28 03:44:57 -04:00
opensuse
This commit is contained in:
commit
e25cf3edec
34 changed files with 3718 additions and 0 deletions
20
.config/nvim/lua/config/aerial.lua.old
Normal file
20
.config/nvim/lua/config/aerial.lua.old
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
Loading…
Reference in a new issue