Put the jump handlers straight into the buffer var

Fixes #12238
Fixes #12289
This commit is contained in:
Magnus Therning 2019-05-12 22:22:17 +02:00 committed by duianto
parent 4cb9226302
commit 37dcecbec9
2 changed files with 4 additions and 4 deletions

View File

@ -1478,9 +1478,9 @@ Other:
- ~SPC r i~ runs new =spacemacs/haskell-format-imports= function
- ~SPC m g b~ returns from definition in =intero-mode=
(thanks to Magnus Therning)
- Fixed jump handlers conflict for haskell and intero (thanks to CthulhuDen)
- Fixed haskell jump handler for dante (thanks to cjay)
- Enable LSP mode using HIE.
- Fixed jump handlers for =dante= and =inferno=
(thanks to cjay, CthulhuDen and Magnus Therning)
**** Helm
- Limited =ripgrep= results to 512 columns by default, and added
=spacemacs-helm-rg-max-column-number= layer variable to configure the above

View File

@ -83,7 +83,7 @@
(defun spacemacs-haskell//setup-dante ()
(dante-mode)
(add-to-list 'spacemacs-jump-handlers-haskell-mode 'xref-find-definitions))
(add-to-list 'spacemacs-jump-handlers 'xref-find-definitions))
(defun spacemacs-haskell//setup-dante-company ()
(spacemacs|add-company-backends
@ -100,7 +100,7 @@
(defun spacemacs-haskell//setup-intero ()
(interactive-haskell-mode)
(intero-mode)
(add-to-list 'spacemacs-jump-handlers-haskell-mode 'intero-goto-definition))
(add-to-list 'spacemacs-jump-handlers 'intero-goto-definition))
(defun spacemacs-haskell//setup-intero-company ()
(spacemacs|add-company-backends