Skip to content

Commit fc1ea06

Browse files
authored
Merge pull request #1842 from kenta2/master
Make dabbrev-expand detect underbar and prime as part of identifiers
2 parents a41e809 + 3392de6 commit fc1ea06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ Minor modes that work well with `haskell-mode':
854854
(setq-local dabbrev-case-fold-search nil)
855855
(setq-local dabbrev-case-distinction nil)
856856
(setq-local dabbrev-case-replace nil)
857-
(setq-local dabbrev-abbrev-char-regexp "\\sw\\|[.]")
857+
(setq-local dabbrev-abbrev-char-regexp "\\sw\\|\\s_\\|[.]")
858858
(setq haskell-literate nil)
859859
(add-hook 'before-save-hook 'haskell-mode-before-save-handler nil t)
860860
(add-hook 'after-save-hook 'haskell-mode-after-save-handler nil t)

0 commit comments

Comments
 (0)