;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(require 'smartparens)
|
#@17
|
|
(fn MS MB ME)
|
(defalias 'sp-haskell-skip-apostrophe #[771 "\212\300\301!!)\302=?\207" [syntax-class syntax-after 7] 6 (#$ . 431)])
|
#@331 Ignore trailing ' when navigating.
|
|
Because ' in haskell is symbol class it gets picked up as part of
|
a words such as myFunction', and then strict mode won't allow us
|
to delete it. Also show-smartparens-mode incorrectly highlights
|
it as missing an opener.
|
|
So we ignore that pair when at the end of word.
|
|
(fn ID ACTION CONTEXT)
|
(defalias 'sp-haskell-strict-ignore-apostrophe-after-word #[771 "\300=\205 |