diff --git a/home/.config/nvim/lua/modules/lsp.lua b/home/.config/nvim/lua/modules/lsp.lua index 7e87233..daa9a6b 100644 --- a/home/.config/nvim/lua/modules/lsp.lua +++ b/home/.config/nvim/lua/modules/lsp.lua @@ -15,14 +15,14 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'ls', 'lua vim.lsp.buf.signature_help()', opts) buf_set_keymap('n', 'la', 'lua vim.lsp.buf.add_workspace_folder()', opts) buf_set_keymap('n', 'lr', 'lua vim.lsp.buf.remove_workspace_folder()', opts) - buf_set_keymap('n', 'll', 'lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))', opts) + buf_set_keymap('n', 'lw', 'lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))', opts) buf_set_keymap('n', 'ld', 'lua vim.lsp.buf.type_definition()', opts) buf_set_keymap('n', 'ln', 'lua vim.lsp.buf.rename()', opts) buf_set_keymap('n', 'gr', 'lua vim.lsp.buf.references()', opts) buf_set_keymap('n', 'le', 'lua vim.lsp.diagnostic.show_line_diagnostics()', opts) buf_set_keymap('n', '[d', 'lua vim.lsp.diagnostic.goto_prev()', opts) buf_set_keymap('n', ']d', 'lua vim.lsp.diagnostic.goto_next()', opts) - buf_set_keymap('n', 'lq', 'lua vim.lsp.diagnostic.set_loclist()', opts) + buf_set_keymap('n', 'll', 'lua vim.lsp.diagnostic.set_loclist()', opts) if client.resolved_capabilities.document_formatting then buf_set_keymap('n', 'lo', 'lua vim.lsp.buf.formatting()', opts)