From 3392de68a1e9dd3c52a60ee8f90d8c1d63046462 Mon Sep 17 00:00:00 2001 From: Ken Takusagawa Date: Sun, 28 Apr 2024 04:28:19 -0400 Subject: [PATCH] Make dabbrev-expand detect underbar and prime as part of identifiers --- haskell-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-mode.el b/haskell-mode.el index f8e7c3fb..bae5fb44 100644 --- a/haskell-mode.el +++ b/haskell-mode.el @@ -854,7 +854,7 @@ Minor modes that work well with `haskell-mode': (setq-local dabbrev-case-fold-search nil) (setq-local dabbrev-case-distinction nil) (setq-local dabbrev-case-replace nil) - (setq-local dabbrev-abbrev-char-regexp "\\sw\\|[.]") + (setq-local dabbrev-abbrev-char-regexp "\\sw\\|\\s_\\|[.]") (setq haskell-literate nil) (add-hook 'before-save-hook 'haskell-mode-before-save-handler nil t) (add-hook 'after-save-hook 'haskell-mode-after-save-handler nil t)