Skip to content

Commit f5214c6

Browse files
committed
Do not depend on nor require haskell-mode
1 parent 6981f8d commit f5214c6

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Eask

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
(depends-on "emacs" "27.1")
1616
(depends-on "lsp-mode")
17-
(depends-on "haskell-mode")
1817

1918
(development
2019
(depends-on "f")

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ 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`.
2726

28-
You will need to set some hooks to ensure that `lsp-mode` is triggered when the `haskell-mode` major mode is entered.
27+
You will need to set some hooks to ensure that `lsp-mode` is triggered when your Haskell major mode (e.g., `haskell-mode` or `haskell-ts-mode`) is entered.
2928

3029
```emacs-lisp
3130
(add-hook 'haskell-mode-hook #'lsp)

lsp-haskell.el

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

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

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

3131
(require 'lsp-mode)
32-
(require 'haskell-mode)
3332

3433
;; ---------------------------------------------------------------------
3534
;; Configuration

0 commit comments

Comments
 (0)