Skip to content

Commit 1a541e2

Browse files
authored
Merge pull request #65 from TristanCacqueray/master
Fix reference to free variable warning
2 parents e9c306b + 00cb106 commit 1a541e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lsp-haskell.el

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ For example, use the following the start the hie process in a nix-shell:
7676
(function-item :tag "None" :value identity)
7777
(function :tag "Custom function")))
7878

79+
;; ---------------------------------------------------------------------
80+
;; Internal variables
81+
82+
(defvar lsp-haskell--config-options (make-hash-table))
83+
7984
;; ---------------------------------------------------------------------
8085
;; HaRe functions
8186

@@ -204,10 +209,6 @@ These are assembled from the customizable variables
204209

205210
;; ---------------------------------------------------------------------
206211

207-
(defvar lsp-haskell--config-options (make-hash-table))
208-
209-
;; ---------------------------------------------------------------------
210-
211212
(defun lsp-haskell--set-configuration ()
212213
(lsp--set-configuration `(:languageServerHaskell ,lsp-haskell--config-options)))
213214

0 commit comments

Comments
 (0)