...
 
Commits (3)
......@@ -763,17 +763,23 @@ It indents by four spaces and is otherwise similar to the BSD style.")
(list company-active-map
company-search-map))
(define-key company-active-map (kbd "C-j") #'company-complete-selection)
(define-key company-active-map (kbd "M-s") #'company-filter-candidates)
(use-package company-yasnippet
:commands (company-yasnippet)
:map (("C-c i" company-yasnippet :states (insert))))
(use-package company-ghc
:ensure t)
(use-package company-lsp
:after company lsp-mode
:ensure t
:commands company-lsp
:config (push 'company-lsp company-backends)))
(define-key company-active-map (kbd "M-s") #'company-filter-candidates))
(use-package company-ghc
:disabled t
:after company
:ensure t)
(use-package company-lsp
:after company lsp-mode
:ensure t
:commands company-lsp
:config (push 'company-lsp company-backends))
(use-package company-yasnippet
:after company
:commands (company-yasnippet)
:map (("C-c i" company-yasnippet :states (insert))))
(use-package compile
:commands compile recompile
......@@ -1023,11 +1029,11 @@ It indents by four spaces and is otherwise similar to the BSD style.")
:ensure t)
(use-package ghc
:disable t
:disabled t
:after haskell-mode
:ensure t
:commands ghc-init
:hook (haskell-mode . ghc-init))
:config (add-hook 'haskell-mode-hook #'ghc-init))
(use-package gnuplot-mode
:ensure t
......@@ -1037,10 +1043,9 @@ It indents by four spaces and is otherwise similar to the BSD style.")
(use-package haskell-mode
:ensure t
:mode ("\\.l?hs\\'" . haskell-mode)
:init
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
:config (use-package inf-haskell))
:config
(add-hook 'haskell-mode-hook #'haskell-indentation-mode)
(add-hook 'haskell-mode-hook #'haskell-doc-mode))
(use-package help-mode
:after ft-space-key
......@@ -1242,6 +1247,9 @@ buffer's working directory (which is available in the
(evil-declare-key 'motion Info-mode-map
(kbd "SPC") ft/private-evil-map))))
(use-package inf-haskell
:after haskell-mode)
(use-package ini-mode
:ensure t
:commands ini-mode
......@@ -1315,13 +1323,16 @@ buffer's working directory (which is available in the
(defvar ledger-use-iso-dates t))
(use-package lsp-haskell
:after lsp-mode haskell-mode
:disabled t
:ensure t
:hook (haskell-mode . lsp))
:after (haskell-mode lsp-mode)
:config (add-hook 'haskell-mode-hook #'lsp)
(defun lsp-haskell--make-init-options ()
"Init options for haskell."
`(:languageServerHaskell ,lsp-haskell--config-options)))
(use-package lsp-mode
:ensure t
:commands lsp lsp-mode)
:ensure t)
(use-package lsp-ui
:after lsp-mode
......