Commit graph

25 commits

Author SHA1 Message Date
d12frosted
4b9b61e5a0 [haskell] fallback to interactive mode
When user disabled ghc-mod, haskell mode should fallback to interactive
mode, so type bindings (and some others) are working properly. It's also
useful for ghci-ng users, but doesn't affect ghci-ng-only bindings.

Fix #3777
2015-11-23 20:23:11 +01:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
taksuyu
b811475077 Restructured haskell/init-haskell-mode settings 2015-11-10 22:47:16 +01:00
d12frosted
2670d01a78 [haskell] configure C-c C-l so it doesn't error
By default `C-c C-l` shows following error:

```
haskell-mode-enable-process-minor-mode: Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.
```

Which might confuse users and they might end up setting
interactive-haskell-mode, which in most cases not what we want.

Also, it gives short key binding for emacs-only editing style users to
bring up REPL.
2015-11-09 19:29:29 +01:00
Matthías Páll Gissurarson
9714644a8f added keyboard shortcuts for ghc-mod in haskell 2015-11-06 14:53:00 +01:00
syl20bnr
bb80e94d38 haskell: replace lambda with a named function 2015-11-03 00:00:54 -05:00
d12frosted
4dc3b120a9 force haskell loading in cabal files
Fixes #335
2015-11-03 00:00:54 -05:00
d12frosted
1e8504d06c add REPL key bindings to haskell-cabal-mode 2015-10-31 14:13:20 +01:00
d12frosted
59342f7cdb [haskell] fix REPL bring function
So now, instead of switching to it - `SPC m s s` shows REPL buffer
without switching to it.
2015-10-31 14:13:13 +01:00
d12frosted
e5c0891bb8 haskell-indentation is enabled by default
Fixes #3581
2015-10-29 19:16:51 +01:00
Eivind Fonn
ae47ac0671 Fix haskell layer paren bug 2015-10-29 14:11:26 +01:00
Eivind Fonn
7b8e996ec9 Fix ghc-mod variable name 2015-10-29 13:48:46 +01:00
Boris
775a6cd6cb don't push company-ghc when ghc-mod is disabled
Because it forces `ghc-mod`, so haskell layer doesn't respects the value of `haskell-enable-ghc-mod-support`.
2015-10-29 13:48:46 +01:00
Pierre Radermecker
5473d441d4 Remove guides to comply with latest haskell-mode
The visual guides have been removed from haskell-mode as of ee55de1 (#947)
2015-10-25 10:28:38 +01:00
d12frosted
1c54ee534f add prefixes to haskell-mode bindings 2015-10-19 00:12:02 -04:00
Pierre Radermecker
dac0ba87a4 Fix #1493: add align rule for Haskell 2015-10-12 10:10:33 -04:00
syl20bnr
b27d6bd94e haskell: simplify SPC mhi and SPC mht config 2015-10-12 09:50:13 -04:00
Boris Buliga
e24b693c9b fix mht and mhi bindings for haskell-mode
As discussed in #3197.
2015-10-12 09:47:55 -04:00
Benno Fünfstück
27efd8fc83 haskell layer: add key binding to jump to imports 2015-10-12 09:29:52 -04:00
Uri Sharf
77d5fef312 Fix typo in var name for suppressing error popups 2015-10-10 23:56:09 -04:00
Eivind Fonn
56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
William Casarin
5dd4aa5fd2 hoogle-lookup-from-local key binding 2015-10-07 15:51:40 -04:00
person808
c1b6293268 Replace eval-after-load with with-eval-after-load.
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
d12frosted
6b8df266ca fix key binding for switching back from REPL 2015-10-06 21:09:53 +02:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
Renamed from layers/!lang/haskell/packages.el (Browse further)