From 9c085c0553450084a96f7c4ccf83c90d63331ca8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 25 Feb 2019 22:26:13 -0500 Subject: [PATCH] Set yas-indent-line only in haskell-mode --- modules/lang/haskell/+lsp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/haskell/+lsp.el b/modules/lang/haskell/+lsp.el index a958773fe..7a718ca70 100644 --- a/modules/lang/haskell/+lsp.el +++ b/modules/lang/haskell/+lsp.el @@ -5,4 +5,4 @@ :init (add-hook 'haskell-mode-hook #'+lsp|init) :config ;; Does some strange indentation if it pastes in the snippet - (setq yas-indent-line 'fixed)) + (setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))