diff --git a/shared/my-nix/nvim/vimrc b/shared/my-nix/nvim/vimrc index b9c03405..d6927909 100644 --- a/shared/my-nix/nvim/vimrc +++ b/shared/my-nix/nvim/vimrc @@ -334,7 +334,7 @@ lua << EOF buf_set_keymap('n', 'rn', 'lua vim.lsp.buf.rename()', opts) buf_set_keymap('n', 'e', 'lua vim.lsp.diagnostic.show_line_diagnostics()', opts) - buf_set_keymap('n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', opts) + buf_set_keymap('n', 'q', 'lua vim.diagnostic.setloclist()', opts) buf_set_keymap('n', 'f', 'lua vim.lsp.buf.code_action()', 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)