mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-28 20:04:56 -04:00
updates
This commit is contained in:
parent
05a7dcaebd
commit
984dc04492
30 changed files with 2213 additions and 1 deletions
20
nvim/lua/config/aerial.lua.old
Normal file
20
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