Make aerial floating, remove kind filtering to show everything
This commit is contained in:
parent
c8fc707710
commit
52dc46d8da
|
@ -1,10 +1,17 @@
|
|||
local aerial = require('aerial')
|
||||
aerial.setup {
|
||||
backends = { "lsp", "treesitter", "markdown", "man" },
|
||||
layout = {
|
||||
placement = "edge",
|
||||
default_direction = "float",
|
||||
},
|
||||
attach_mode = "global",
|
||||
highlight_mode = "none",
|
||||
manage_folds = true,
|
||||
close_on_select = true,
|
||||
show_guides = true,
|
||||
close_automatic_events = {
|
||||
"unfocus", "switch_buffer", "unsupported"
|
||||
},
|
||||
float = {
|
||||
relative = "win",
|
||||
},
|
||||
filter_kind = false,
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ local on_attach = function(client, bufnr)
|
|||
vim.keymap.set('n', 'gI', vim.lsp.buf.implementation, bufopts)
|
||||
vim.keymap.set('n', 'gi', '<cmd>Trouble lsp_implementations<cr>', bufopts)
|
||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
|
||||
-- vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
|
||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
|
||||
vim.keymap.set('n', '<leader>wa', vim.lsp.buf.add_workspace_folder, bufopts)
|
||||
vim.keymap.set('n', '<leader>wr', vim.lsp.buf.remove_workspace_folder, bufopts)
|
||||
vim.keymap.set('n', '<leader>wl', function()
|
||||
|
|
Loading…
Reference in a new issue