fixed loading of aerial
This commit is contained in:
parent
b91b0b48b4
commit
dc534b5a38
@ -200,8 +200,10 @@ return require('packer').startup(function()
|
||||
config = get_setup('aerial'),
|
||||
opt = true,
|
||||
module = 'aerial',
|
||||
cmd = {'Telescope aerial', 'AerialToggle'},
|
||||
keys = {
|
||||
{ 'n', '<leader>s' }
|
||||
{ 'n', '<leader>s' },
|
||||
{ 'n', '<A-m>' }
|
||||
}
|
||||
}
|
||||
use {
|
||||
|
@ -13,6 +13,11 @@ require('legendary').keymaps(
|
||||
'<leader>s',
|
||||
':AerialToggle<CR>',
|
||||
description = 'Symbols outline',
|
||||
},
|
||||
{
|
||||
'<a-m>',
|
||||
':Telescope aerial<CR>',
|
||||
description = 'Telescope symbols',
|
||||
}
|
||||
}
|
||||
)
|
||||
|
@ -38,7 +38,6 @@ local on_attach = function(client, bufnr)
|
||||
vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts)
|
||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
|
||||
vim.keymap.set('n', '<space>r', tele_builtins.lsp_references, opts)
|
||||
vim.keymap.set('n', '<A-m>', '<cmd>Telescope aerial<cr>', opts)
|
||||
vim.keymap.set('n', '<space>v', function() tele_builtins.diagnostics({ bufnr = 0 }) end, opts)
|
||||
vim.keymap.set('n', '<A-o>', '<cmd>ClangdSwitchSourceHeader<CR>', opts)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user