haskell / haskell/haskell-mode

Jump to definition is broken with LSP and doom-emacs

Open
#1,706 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

`M-.` is broken when using it with lsp-mode and doom-emacs, which has a very nice setup that works with all other language modes. The problem is that `M-.` is bound to the internal haskell-mode function [haskell-mode-jump-to-def-or-tag](https://github.com/haskell/haskell-mode/blame/c3d3e23b7b0e99bee382b3192629584202e6613b/haskell.el#L44). This prevents lsp-mode and doom-emacs from using it, and results in it not working at all with the error `Unable to find symbol in current document`.

The only way to fix this is to unset the keybinding after loading `haskell-mode`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.