syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.67k stars 4.89k forks source link

haskell mode: gtags doesn't work #7268

Closed magthe closed 4 years ago

magthe commented 8 years ago

Description :octocat:

gtags doens't work in haskell mode

I'm somewhat confused by the presence of the gtags functions in the mode menu, given that global, according to its own web site, doesn't support Haskell.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: If the gtags files are missing, they are sometimes generated. After that, nothing.

If the gtags files are already present, nothing happens.

Expected behaviour: :heart: :smile: I expect that I'm transported to the definition of the function I've placed the cursor on.

System Info :computer:

(html
 (auto-completion :variables auto-completion-enable-help-tooltip t auto-completion-enable-snippets-in-popup t auto-completion-enable-sort-by-usage t)
 dash evil-commentary evil-snipe git gtags helm mu4e syntax-checking vim-powerline
 (c-c   :variables c-c  -enable-clang-support t c-c  -enable-irony-support t)
 clojure emacs-lisp python
 (haskell :variables haskell-completion-backend 'intero haskell-enable-hindent-style "johan-tibell")
 scheme dockerfile latex markdown org pandoc yaml archlinux clipboard-fix)
jacktasia commented 8 years ago

FWIW, dumb-jump should work with Haskell. That said, I don't know if spacemacs is configured by default to fallback to, or use, it with Haskell.

rgrinberg commented 7 years ago

So the correct course of action here would be to remove the gtags functions from the haskell menu right? Can't see what can be done until global supports haskell.

magthe commented 7 years ago

@rgrinberg Yes, I think that's the correct course of action at this point.