Skip to content

Commit

Permalink
docs(readme): example haskell.lua keymap conflict removed (#319)
Browse files Browse the repository at this point in the history
lspconfig has a keymap of '<space>ca' for code action so '<space>cl'
removes this conflict.
  • Loading branch information
BebeSparkelSparkel authored Jan 5, 2024
1 parent 516548c commit 76725ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ local bufnr = vim.api.nvim_get_current_buf()
local opts = { noremap = true, silent = true, buffer = bufnr, }
-- haskell-language-server relies heavily on codeLenses,
-- so auto-refresh (see advanced configuration) is enabled by default
vim.keymap.set('n', '<space>ca', vim.lsp.codelens.run, opts)
vim.keymap.set('n', '<space>cl', vim.lsp.codelens.run, opts)
-- Hoogle search for the type signature of the definition under the cursor
vim.keymap.set('n', '<space>hs', ht.hoogle.hoogle_signature, opts)
-- Evaluate all code snippets
Expand Down

0 comments on commit 76725ef

Please sign in to comment.