Commit graph

324 commits

Author SHA1 Message Date
syl20bnr
769d54da02 New layer auto-completion
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
2015-04-03 00:28:13 -04:00
syl20bnr
cb259666bb Remove some not used packages from Spacemacs layer 2015-04-02 22:43:21 -04:00
syl20bnr
5dd7383821 python layer: fix pylookup 2015-04-02 00:00:36 -04:00
syl20bnr
faca47e088 haskell layer: disable eletric-indent-mode 2015-04-01 12:08:31 -04:00
syl20bnr
d825f17874 haskell layer: Remove hi2 and reformat haskell/init-hakell-mode
Resolves #735
2015-04-01 12:04:43 -04:00
Tristan Hume
db57ab7b94 Fix loading order in some of my layers 2015-04-01 07:44:03 -04:00
syl20bnr
5e993d8e4c c-c++ layer: Fix append of company-cmake 2015-03-31 22:37:53 -04:00
syl20bnr
46248b1e73 New local company backends 2015-03-31 22:24:01 -04:00
Michael Hauser-Raspe
1f7484ba19 ensure that less gets loaded 2015-03-31 00:16:40 -04:00
nashamri
7c4df074c9 Fix for cider-send-function-to-repl 2015-03-31 00:16:21 -04:00
Audun Gevelt
2813d268d9 Update hindent variable names in README.md
Replace mention of old variable haskell-enable-hindent-support with haskell-enable-hindent-style
2015-03-31 00:15:11 -04:00
syl20bnr
0fa0409523 Restore reset of local company-backends and add with-yas param 2015-03-30 00:48:41 -04:00
Tristan Hume
cb43a91a15 Add company backend add macro and use it everywhere 2015-03-30 00:01:33 -04:00
Diego Berrocal
78f8c6aae0 Change condition for company-mode detection
changed configuration-layer/package-declaredp for
configuration-layer/layer-declaredp in company-mode
2015-03-29 23:49:37 -04:00
syl20bnr
f56c035dea haskell layer: disable ghc-check.el overlays with flycheck enabledcc 2015-03-28 20:45:25 -04:00
syl20bnr
2f27a31176 haskell layer: Fix flycheck configuration
Fixes #594
2015-03-28 20:44:30 -04:00
syl20bnr
0058dab322 haskell layer: update README for cabal binaries location 2015-03-28 10:16:33 -04:00
syl20bnr
857c110d9e racket layer: add table of content to README 2015-03-27 23:40:35 -04:00
syl20bnr
3e68321f6d racket layer: refactor and apply conventions
Add more key bindings
2015-03-27 23:37:33 -04:00
Tristan Hume
904ff2d9eb Make tweaks to Racket layer 2015-03-27 22:32:09 -04:00
Tristan Hume
4f9ee49f58 Move Racket to its own layer 2015-03-27 22:32:07 -04:00
Tristan Hume
94176bc4bf Fix some extra lang quirks and add Nim support 2015-03-27 22:32:06 -04:00
Jean-Christophe Petkovich
50b62b3d65 Last spacemacs/activate-evil-leader-for-map call to remove.
Everything should use the `evilify` macro now.

Conflicts:
	contrib/lang/clojure/packages.el
2015-03-26 12:31:26 -04:00
syl20bnr
6fa63b8dbb clojure layer: Remove call to deprecated function 2015-03-25 00:55:05 -04:00
syl20bnr
131fd3cce8 Remove empty file funcs.el in c-c++ layer 2015-03-24 21:53:37 -04:00
Cong Nguyen
e7ec767fa8 go layer: use new company-mode layer init
Fix #913
2015-03-23 22:12:04 -04:00
Daniel Wu
41efc0e263 python layer: Update README 2015-03-23 21:54:06 -04:00
Michael Hauser-Raspe
43c9e14d16 Add projectile-find-other-file key bindings 2015-03-23 21:52:55 -04:00
syl20bnr
bdf1ec390b New evil state evilified + support for dynamic toggle of holy-mode
Key binding on `SPC P <tab>` in the pair programming prefix.
2015-03-22 23:14:43 -04:00
syl20bnr
5c936a5088 Remove unneeded empty init functions since the fix of non activated packages 2015-03-22 03:13:09 -04:00
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
syl20bnr
cc0cb82283 Remove lighter for robe in ruby layer 2015-03-21 18:41:31 -04:00
syl20bnr
2980ae01ef Correctly lazy-load projectile-rails
Fixes #853
2015-03-21 18:40:36 -04:00
syl20bnr
30ced0a08b Work-around a bug in enh-ruby-mode
Taken from https://github.com/zenspider/enhanced-ruby-mode/blob/master/test/enh-ruby-mode-test.el#L4

Fixes a wrong number of arguments error.
2015-03-21 18:39:37 -04:00
syl20bnr
de24fd7f2a Minor edition of ruby layer README 2015-03-21 18:39:15 -04:00
Jean-Christophe Petkovich
f5fa170147 Fix loading packages for new version of ess
`ess-R-object-popup` and `ess-R-data-view` no longer exist in the newest
version of the `ess` package. All we need to load now is `ess-site`.

Revert changes to ess lazy loading

Include two empty init functions for packages causing errors instead.
2015-03-20 23:28:43 -04:00
syl20bnr
2fa2c620ee clojure layer: add cider-eval-sexp-fu 2015-03-20 23:27:08 -04:00
syl20bnr
890217a6f4 clojure layer: Add SPC m e f eval function at point 2015-03-20 22:50:05 -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
Ryan Artecona
66dc692bb1 add sass-mode 2015-03-20 21:24:00 -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
11d29d1699 Add TOC in fsharp layer readme + resize the logo 2015-03-17 00:18:55 -04:00
syl20bnr
a0fb7c77b2 Update logos for fsharp and dockerfile 2015-03-16 23:56:14 -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
syl20bnr
8b175d6eb6 Simplify ruby layer use-package
`:mode` implies `:defer t` so I removed all the `:defer t` when
`:mode` is used
2015-03-15 23:48:58 -04:00
syl20bnr
96e96ae8e4 Fix clojure lazy-loading 2015-03-15 23:48:47 -04:00
syl20bnr
ff7960fe5d Lazy-loading for c-c++ layer 2015-03-15 21:44:10 -04:00