Skip to content

Commit

Permalink
Merge pull request #1842 from kenta2/master
Browse files Browse the repository at this point in the history
Make dabbrev-expand detect underbar and prime as part of identifiers
  • Loading branch information
purcell authored Feb 5, 2025
2 parents a41e809 + 3392de6 commit fc1ea06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc1ea06

Please sign in to comment.