syl20bnr
15c392b891
haskell: remove unnecessary backquote
2016-07-05 00:23:16 -04:00
Koray Al
8d0f76b259
haskell: replace quotes with backquotes inside pcase
2016-07-05 00:23:16 -04:00
syl20bnr
89dc1af9a6
Remove spacemacs/add-to-local-vars-hook and use (format ...)
...
It is better to directly hook function using the conventional hook
functions.
Replace usage of (concat ...) by a (format ...) from which is more
readable.
2016-06-26 14:04:13 -04:00
d12frosted
45dd381fd2
conditionally enable haskell completion backend
2016-06-26 13:51:11 -04:00
syl20bnr
93d01704a6
haskell: align tables in documentation
2016-06-23 00:50:03 -04:00
d12frosted
a8e569d3b2
refine haskell completion backends
...
- add haskell-completion-backend variable that should be used to select
desired completion backend
- add support for intero (based on @cydparser layer)
- remove ghci-ng support
- update readme file:
- document haskell-completion-backend variable
- remove installation notes for ghc-mod as they are not relevant
anymore
- remove ghci-ng section
- overall readme file fixes and improvements
2016-06-23 00:47:23 -04:00
Ben Gamari
7b1430e9d5
haskell: Don't enable haskell-tags-on-save
...
This is a very opinionated option and works very poorly on even
moderately large projects as it invokes `hasktags` synchronously,
freezing the editor for several seconds on every save. Users who want
this behavior should enable it manually.
Fixes #6292 .
2016-06-12 21:51:28 -04:00
d12frosted
9df123c40c
haskell: remove structured-haskell-mode
2016-06-12 21:11:32 -04:00
syl20bnr
81fbb9a292
Format README files with spacefmt
2016-06-10 00:09:42 -04:00
syl20bnr
a1d60c0c82
haskell: unify key bindings for debugging
2016-06-07 23:36:06 -04:00
d12frosted
adec65cc2b
evilify haskell-debug-mode
2016-06-07 23:31:17 -04:00
Paul Wise
90c09f94bc
Add hlint-refactor to haskell layer
2016-06-07 23:28:21 -04:00
d12frosted
815cf8c5d7
add troubleshooting notes for ghc-mod
2016-06-03 23:34:29 -04:00
Julian Ospald
d320d1af4b
Fix proposed ghc-mod workaround in haskell layer README
...
"m" is extraneous.
Also see #4770 and #4790
2016-05-29 23:14:24 -04:00
d12frosted
ce88cdfca7
[haskell] fix type and info hey bindings
2016-05-29 23:00:24 -04:00
syl20bnr
a2de9a63af
Use :toggle keyword instead of when forms
2016-05-29 22:39:21 -04:00
sooheon
0a85d04892
Check for flycheck, not syntax-checking layer
...
This allows loading even when someone uses flycheck in their personal
layer.
2016-05-27 00:32:05 -04:00
syl20bnr
1f993bddf6
Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
...
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
Eivind Fonn
3145e70f72
haskell: Clean up README
2016-05-06 13:24:12 +02:00
Maxime Bourget
df669900da
Update haskell layer documenation.
...
Add syntax checking section and improve FAQ so solve syntax checker problems.
2016-05-06 13:07:15 +02:00
syl20bnr
17fbeaf861
haskell: move haskell-modes variable def to config.el
2016-05-01 11:41:38 -04:00
syl20bnr
425e6ba7de
haskell: use package toggles for company packages
2016-05-01 11:40:54 -04:00
Tim Dysinger
5cc4e16f4d
Adds company-ghci to haskell layer
...
You don't need ghc-mod to do code completion with ghc 7.10+. GHCI has built-in code-completion suggestions you can aske for. This is what company-ghci does.
2016-05-01 11:30:58 -04:00
syl20bnr
3b0c1fd93d
Convert org doc files with doc-fmt
2016-03-30 22:59:55 -04:00
Paul Schorfheide
0f76d52166
Add hoogle to list of packages for haskell layer
2016-03-30 18:49:18 -04:00
William Casarin
5dbc758499
haskell: Add all haskell-mode keybindings to literate-haskell-mode
2016-02-16 23:30:40 -05:00
William Casarin
dbf0fa3a9a
haskell: update broken hoogle-lookup-from-local
...
It was renamed to haskell-hoogle-lookup-from-local in:
44b5420829 (diff-7d97c622509a7bc5ed311b9ef7719095R110)
2016-02-14 23:18:10 -05:00
Eivind Fonn
e9f8377b92
Tweak flycheck loading process
2016-01-31 23:04:48 -05:00
William Casarin
362b6998cf
haskell: add helm-hoogle, bind to mhf
2016-01-18 00:28:00 -05:00
syl20bnr
046d86800c
Clean copyrights and update for year 2016
2016-01-11 21:42:17 -05:00
Chris Barrett
de4c7502c0
Remove reference to undefined fn haskell-cabal-hook
...
Resolves #4512
2016-01-11 01:13:10 -05:00
syl20bnr
cddf18ff1e
Update install layer section in REAMDE.org files
2016-01-06 00:21:55 -05:00
Fabien Dubosson
6cb7399cac
Change SPC f e h
to SPC h SPC
for helm-spacemacs default binding
...
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.
The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Bjarke Vad
5c92f7dc2c
[haskell-layer] Fixed ghci-ng for stack projects
2016-01-03 22:23:12 -05:00
Eivind Fonn
dee5d7369c
Fix haskell SPC mht and SPC mhi
2015-12-29 17:33:33 +01:00
Eivind Fonn
ac0ba50154
Make flycheck/flyspell hooks more explicit
2015-12-11 02:08:55 -05:00
Joe Hillenbrand
310a6c9a9c
haskell: haskell-process-load-or-reload is obsolete
...
Fixes:
`haskell-process-load-or-reload' is an obsolete command (as of
2015-11-14); use `haskell-process-load-file' instead.
2015-12-11 02:06:26 -05:00
justbur
899123258a
keys: Don't specify C-i as a binding key
...
(kbd "C-i") == (kbd "TAB") so for consistency sake we always bind to TAB
by convention.
2015-12-05 13:18:37 -05:00
Sebastian Wiesner
dc9459305e
haskell: Fix command name
2015-12-03 23:54:57 -05:00
Eivind Fonn
c893383fe4
Fix some documentation bugs
...
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Boris
c9de044549
fix typo in haskell readme
...
Sorry, someone just told me that this script is not working :-P
2015-12-03 13:52:43 +01:00
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
Eivind Fonn
c3866382b2
Documentation update
...
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +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
Eivind Fonn
13c5b1d24b
Convert documentation to publishable format
2015-11-01 23:40:29 -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
d12frosted
95a7bb51b1
[haskell] add note about indentation reset
2015-10-29 13:48:46 +01:00
d12frosted
8583875632
update haskell layer documentation
...
- fix some inaccuracies
- add more notes about using ghc-mod
- add more notes about using ghci-ng
- add more notes about using shm
- add more troubleshooting
2015-10-29 13:48:46 +01:00
Eivind Fonn
16e7ad2923
Clean up PATH documentation
2015-10-29 13:48:46 +01:00
d12frosted
a89a05ca9a
add note about setting up $PATH
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
syl20bnr
47ce251853
haskell: add documentation for SPC m g i
2015-10-12 09:32:05 -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
Boris Buliga
75078b031f
update tips for 'stuck' haskell repl
...
Based on #3292
2015-10-10 23:54:58 -04:00
Eivind Fonn
56ecd43753
Add variables to opt-in to flycheck/flyspell
2015-10-10 23:18:46 -04:00
Boris Buliga
9dab3b2e8e
update haskell README
...
Improve PATH section. As requested in #2142 .
Also make some minor improvements.
2015-10-09 12:17:51 +02: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
Boris Buliga
a4642ef774
update haskell README file
...
- update section about setting up PATH by updating value of
=exec-path= (previously it was saying to update it in =user-init=
function, but looks like you need to do it in =user-config=) -
following #1718
- add FAQ section
- add note about setting up =stack-ghci= as =haskell-process= (as
noted in #2142 )
- add note about fixing problems with =ghc-mod= and =stack=
- add note about fixing stuck REPL (following #3271 )
2015-10-07 19:22:28 +02:00
d12frosted
377ac14454
add notes on using stack
2015-10-07 18:18:00 +03:00
d12frosted
6b8df266ca
fix key binding for switching back from REPL
2015-10-06 21:09:53 +02:00
Tommi Komulainen
e22b2eadd0
doc: haskell: fix link to structured-haskell-mode visualizations
...
Include an anchor to try to get as close to the visualizations as
possible.
2015-09-28 23:22:06 -04:00
syl20bnr
383b1bec20
Update dotspacemacs/config and dotspacemacs/init occurrences
2015-09-28 02:05:18 -04: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