| orgstruct-mode was dropped from org 9.2, and I shouldn't have been forcing it on anyway. The new config allows its "replacement", outshine-mode, to do similar code folding when you press tab on any of the lines matching outline-regexp. But only if you patch it as mentioned at https://github.com/alphapapa/outshine/issues/77. Enable it by, eg: (add-hook 'haskell-mode-hook 'outshine-mode) | ||
|---|---|---|
| .. | ||
| Data | ||
| Read | ||
| Reports | ||
| Utils | ||
| Data.hs | ||
| Query.hs | ||
| Read.hs | ||
| Reports.hs | ||
| Utils.hs | ||