;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-

(def-package! lsp-haskell
  :after haskell-mode
  :init (add-hook 'haskell-mode-hook #'+lsp|init)
  :config
  ;; Does some strange indentation if it pastes in the snippet
  (setq yas-indent-line 'fixed))

;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-

(def-package! lsp-haskell
  :after haskell-mode
  :init (add-hook 'haskell-mode-hook #'+lsp|init)
  :config
  ;; Does some strange indentation if it pastes in the snippet
  (setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))

Set yas-indent-line only in haskell-mode
Set yas-indent-line only in haskell-mode
UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d