Skip to content

Commit 3bbce23

Browse files
committed
Depend on haskell-mode
Fixes emacs-lsp#163
1 parent 9efa7e1 commit 3bbce23

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Eask

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(package "lsp-haskell"
2-
"1.0"
2+
"1.1"
33
"Haskell support for lsp-mode")
44

55
(website-url "https://github.com/emacs-lsp/lsp-haskell")
@@ -14,6 +14,7 @@
1414

1515
(depends-on "emacs" "24.3")
1616
(depends-on "lsp-mode")
17+
(depends-on "haskell-mode")
1718

1819
(development
1920
(depends-on "f")

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Do not skip this!
2323
It has important information.
2424

2525
`lsp-mode` automatically requires the `lsp-haskell` package , so you do not need to `require` `lsp-haskell` unless you like being explicit.
26+
Similarly, `lsp-haskell` automatically requires the `haskell-mode` package, so you do not need to `require` `haskell-mode`.
2627

2728
You will need to set some hooks to ensure that `lsp-mode` is triggered when the `haskell-mode` major mode is entered.
2829

lsp-haskell.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
;;; lsp-haskell.el --- Haskell support for lsp-mode
22

3-
;; Version: 1.0
4-
;; Package-Requires: ((emacs "24.3") (lsp-mode "3.0"))
3+
;; Version: 1.1
4+
;; Package-Requires: ((emacs "24.3") (lsp-mode "3.0") (haskell-mode "16.1"))
55
;; Keywords: haskell
66
;; URL: https://github.com/emacs-lsp/lsp-haskell
77

@@ -29,6 +29,7 @@
2929
;;; Code:
3030

3131
(require 'lsp-mode)
32+
(require 'haskell-mode)
3233

3334
;; ---------------------------------------------------------------------
3435
;; Configuration

0 commit comments

Comments
 (0)