syl20bnr
814b56ba26
Simplify initialization of flycheck-haskell
2015-03-22 03:11:54 -04:00
syl20bnr
b1adef0626
Heavy refactoring of company-mode layer
...
- Enable lazy-loading of company.
- The company layer is now agnostic of any packages which use company
- company-backends is now buffer local and contains only the backends
which are relevant for the current modes
- New macro `spacemacs|reset-local-company-backends`
2015-03-22 02:23:12 -04:00
Jean-Christophe Petkovich
f099537282
Fix for flycheck-haskell-setup autoload
...
I get the following backtrace after starting any mode that includes
flycheck initialization:
Debugger entered--Lisp error: (void-function flycheck-haskell-setup)
flycheck-haskell-setup()
run-hooks(flycheck-mode-hook flycheck-mode-on-hook)
flycheck-mode()
run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
run-mode-hooks(python-mode-hook)
python-mode()
set-auto-mode-0(python-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer setup.py> "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" (11679577 2052))
find-file-noselect("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil nil)
find-file("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
find-file-at-point("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
helm-find-file-or-marked("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
...
ABBREVIATED HELM BACKTRACE
...
helm-find-files-1("/home/jcp/" nil)
helm-find-files(nil)
call-interactively(helm-find-files nil nil)
command-execute(helm-find-files)
By moving the `flycheck-mode-hook` manipulation to
`haskell/init-flycheck-haskell`, I no longer get this error.
2015-03-20 21:37:38 -04:00
syl20bnr
0a934b2b4e
Update haskell readme
2015-03-18 08:52:06 -04:00
syl20bnr
72edfcd137
Move SPC m t
and SPC m i
under SPC m h
...
`SPC m t` is reserved for tests.
Information commands are considered help commands.
2015-03-18 08:51:20 -04:00
syl20bnr
4753502945
haskell layer: Update readme
2015-03-16 01:56:28 -04:00
Pierre Radermecker
3deb06fec9
haskell layer: haskell-enable-hindent-support requires a style name
...
Fixes #758
2015-03-16 01:45:14 -04:00
Michael Hauser-Raspe
519e46bbc9
Add haskell-type-on-previous-line
function
2015-03-13 23:22:39 -04:00
Bjarke Vad
dda1e8de86
Updated haskell/shm bindings + misc haskell
...
- Added some shm keybindings that fit a bit better with evil-mode
- Set better(saner at least) default for hindent style
- Removed C-{<right>,<left>} bindings
- Removed flycheck delay for showing error at point
2015-03-02 18:43:43 -05:00
Bjarke Vad
83ea6cd2f3
Fixed flycheck not being properly initialized for haskell-mode
2015-03-02 18:40:03 -05:00
syl20bnr
a024d74521
haskell layer: Always install shm and hindent
2015-03-01 00:00:10 -05:00
Michel Kuhlmann
dc7d3898ee
haskell: optional hindent-mode
2015-02-28 23:58:36 -05:00
syl20bnr
6687f2d0fe
Rename haskell variables to enable shm and ghci-ng
...
`haskell-enable-shm-support`
`haskell-enable-ghci-ng-support`
2015-02-24 20:09:06 -05:00
Bjarke Vad
3b8742f3cc
Fixes an issue with company-ghc not loading correctly
...
- the `ghc-comp-init` function should not be called as a hook when
`ghc-init` is already called in `haskell-hook`
- load company-ghc with yasnippet support
2015-02-24 18:39:53 -05:00
Bjarke Vad
14c1852f34
Added initial support for structured-haskell-mode
2015-02-23 23:48:06 -05:00
syl20bnr
14a3fee574
Fix header for ghci-ng section in readme
2015-02-22 22:06:54 -05:00
Bjarke Vad
78b794f06c
Fixes #641
2015-02-22 12:49:35 -05:00
Bjarke Vad
f447e937e8
Added ghci-ng support to haskell layer
...
- uses the variable `haskell-ghci-ng-support` to enable support
2015-02-22 12:49:10 -05:00
syl20bnr
96723eb7eb
Update wrong code snippets in READMEs
2015-02-17 22:36:12 -05:00
syl20bnr
66e38ec962
Lazy load ghc-comp-init in haskell layer
2015-02-14 22:45:14 -05:00
syl20bnr
22930c3d33
Change all SPC m g
bindings to SPC m g g
according to conventions
2015-01-20 22:32:13 -05:00
syl20bnr
c31d987668
Move hi2 related functions in init-hi2 function in haskell layer
2015-01-14 23:23:08 -05:00
syl20bnr
ceefe88b75
Update CONTRIBUTE.md and add file headers
...
Also add default file header to layer templates.
2015-01-13 23:12:56 -05:00
syl20bnr
aa56fffed2
Update haskell layer README with hi2
2015-01-01 02:11:51 -05:00
Chris Barrett
d54e1ae4c7
Configure hi2
...
Resolves #356
2015-01-01 02:09:41 -05:00
Endre Bakken Stovner
f837720619
Update Haskell install instructions
...
Better formatting and more detailed instructions
2014-12-29 23:18:57 -05:00
Bjarke Vad
cb27ee6190
Removed ghci-completion package
...
- ghci-completion is redundant when using flycheck-haskell
2014-12-28 23:47:47 -05:00
Bjarke Vad
0df1d21c11
set haskell-process-type to auto
...
Should work in more use-cases
2014-12-28 23:47:44 -05:00
Bjarke Vad
d625837b16
Updated install section of haskell readme
2014-12-28 23:47:40 -05:00
syl20bnr
fd0e9abbe7
Move layer images into img directories
2014-12-24 01:03:49 -05:00
Bjarke Vad
ee0b0b240d
Updated haskell-mode bindings
...
- Fits better with conventions
- Check README.md for bindings
Fixes flycheck for haskell
- Disabled haskell-stylish on save as it interferes with flycheck errror highlighting
- Added a new binding, `SPC m f` that runs haskell-stylish
removed haskell-stylish-on-save
2014-12-22 21:49:20 -05:00
syl20bnr
939cd9f8f0
Reformat tables
2014-12-21 23:19:04 -05:00
Bjarke Vad
9df3400643
Updated Haskell layer
...
- Uses cabal-repl instead of the deprecated cabal-dev
- Loads company-ghc if company-mode is enabled
- Fixed RET in REPL
- See README.md for keybindings
2014-12-21 23:05:29 -05:00
syl20bnr
59286d8ea4
Move ghc package to Haskell layer
2014-12-13 23:31:03 -05:00
syl20bnr
95a1795873
Move Scala packages to scala layer
2014-12-13 23:29:23 -05:00
syl20bnr
46a717254d
Fixes #226 Flycheck not automatically started in haskell buffers.
2014-12-11 22:34:13 -05:00
syl20bnr
4add1b7a62
Remove absolute links in READMEs
2014-12-11 19:55:44 -05:00
syl20bnr
68fbb286de
Fix defvar instead of setq in readme
2014-12-09 23:50:48 -05:00
syl20bnr
5295e9e3a3
Move Haskell to its own lang contrib layer
2014-12-01 23:22:45 -05:00