Skip to content

Commit

Permalink
Fix <leader>q
Browse files Browse the repository at this point in the history
Presumably this worked at one point in time and things must have
changed. Anyways, it's working now.
  • Loading branch information
jfly committed Nov 12, 2023
1 parent d3cfa33 commit 877369e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/my-nix/nvim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ lua << EOF
buf_set_keymap('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)

buf_set_keymap('n', '<leader>e', '<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>', opts)
buf_set_keymap('n', '<leader>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
buf_set_keymap('n', '<leader>q', '<cmd>lua vim.diagnostic.setloclist()<CR>', opts)
buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)
buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts)
buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts)
Expand Down

0 comments on commit 877369e

Please sign in to comment.