Commit graph

435 commits

Author SHA1 Message Date
syl20bnr
5f5cf0cbe8 js layer: move js-doc key bindings under SPC m r d 2015-04-21 01:36:02 -04:00
geksilla
3113e5940b Add js-doc package to javascript. 2015-04-21 01:28:05 -04:00
Tu Do
000791c5f3 [feature] new Semantic layer
This separates Semantic layer from language major modes, so Semantic
features are only enabled when the layer is added, allow user to choose
using it or not.

Conflicts:
	contrib/lang/c-c++/packages.el
2015-04-21 01:15:40 -04:00
Chris Ewald
706c80e869 html layer: various improvements
- add eco to web-mode auto-mode-alist
- add emmet keybinding fixes to emacs-state-map as well
- use only smartparens in webmode
2015-04-19 03:01:29 -04:00
syl20bnr
3721df8add Revert changes attributed to the wrong contributor 2015-04-19 03:00:54 -04:00
Lou, Yufan
1a25ad9659 html layer: Fixes #1161 Emmet tab expansion and other fixes
- Documentation should include a keybinding guide, since we use evil.
- add emmet keybinding fixes to emacs-state-map as well
- add eco to web-mode auto-mode-alist
- use only smartparens in webmode
2015-04-19 01:31:09 -04:00
syl20bnr
83bd31a812 haskell layer: replace use-package by eval-after-load 2015-04-19 01:17:35 -04:00
Chris Barrett
65576411c4 haskell fixes
- ensure haskell-indentation is loaded before calling members
- fix misspelled references to keymaps
- fix function names - s/identation/indentation
2015-04-19 01:05:52 -04:00
zimbatm
51280cf4d8 Access github over SSL
Changes all links to github from http:// to https://
2015-04-19 00:27:48 -04:00
syl20bnr
aabdc1882c Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00
syl20bnr
fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr
afddfec611 gtags layer: remove helm-gtags global hook 2015-04-16 00:13:14 -04:00
syl20bnr
145bf065f4 helm-gtags: more conventional way to add helm-gtags support to a mode 2015-04-16 00:01:42 -04:00
Christoph Paulik
f165761b18 add semantic stickyfunc toggle and activate in python layer 2015-04-15 22:44:45 -04:00
Carlos Galdino
5cb9f9006e Fix ruby-test-mode initialization. 2015-04-15 22:40:47 -04:00
Tristan Hume
3da9bb33de Add D language mode to extra-langs 2015-04-15 00:45:09 -04:00
ralesi
764bc17f57 update autohotkey contrib to use mepla package 2015-04-14 23:37:24 -04:00
Tu Do
cdbfe68cee Enable c++ mode in proper files
Aside from cpp, better enable c++-mode in .h file since C is a subset of
C++ anyway. Without it, when entering .h file of C++, syntax
highlighting is wrong.
2015-04-14 23:37:18 -04:00
syl20bnr
81b38d0aba Edit purescript layer README and key bindings 2015-04-13 22:57:47 -04:00
Diego Berrocal
7c43c35d8e Suggest improvements for web-mode-micro-state
Related issue #965
2015-04-13 21:33:43 -04:00
Ryan L. Bell
041d2441c7 Creates a really basic, early stages purescript layer.
Leverages:
- purescript-mode
- psci

Purescript README.md

Fixed Purescript logo
2015-04-13 21:33:10 -04:00
syl20bnr
b8e617c886 New function spacemacs/warning 2015-04-12 12:25:53 -04:00
syl20bnr
7e23a62cd7 python layer: update README with anaconda-mode prereq install instructions 2015-04-12 11:26:19 -04:00
syl20bnr
dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
syl20bnr
c8d3e48d10 haskell layer: remove mentions to hi2 in README 2015-04-11 14:48:30 -04:00
Ben Gamari
04895b4c28 Add cmm-mode to haskell layer 2015-04-11 00:21:28 -04:00
syl20bnr
cce8d5382d Contrib category "config"
Move puppet, ansible and dockerfile layer there
2015-04-10 22:58:14 -04:00
syl20bnr
a4919b3eda New layer syntax-checking
Move flycheck
2015-04-10 22:23:16 -04:00
Nate Wolfe
e444f962bc [puppet] Fix typos in README keybindings
This commit removes the errant '>' character from the key bindings
section of the Puppet README.
2015-04-10 20:27:46 -04:00
syl20bnr
c2fe549158 haskell layer: tweaked company backends 2015-04-10 00:00:51 -04:00
syl20bnr
7f29260205 Add yasnippet backends 2015-04-09 22:28:26 -04:00
syl20bnr
90fc74d799 Fix company-backends error with ymcd and c-headers 2015-04-09 01:27:53 -04:00
syl20bnr
fef3268f47 racket layer: Configure company 2015-04-09 00:40:49 -04:00
syl20bnr
0c6682cbd1 Refactor one more time the auto-completin macros
It is important to define the buffer local backend variables
in a config.el otherwise it is not available in the layer
configuration if the auto-completion layer is removed.
There were also some issues by hiding the explicit
configuration of company inside a macro, for instance
helm-spacemacs is unable to display the company package
configured in a given layer if the auto-completion layer
is removed.
2015-04-09 00:03:51 -04:00
Tristan Hume
f04412893e Change company macro name and use push 2015-04-08 12:39:25 -04:00
Tristan Hume
e79e077edf Fix bugs in c-c++ and ycmd auto-completion 2015-04-07 16:03:13 -04:00
Tristan Hume
fe90cf09e8 Port many layers to new auto-completion
Adds support for ruby, auctex, css, ledger and gtags with new
auto-completion infrastructure. Ticks off many things in #1045
2015-04-07 16:02:53 -04:00
Tristan Hume
ad86ab8fb1 Add a helper for simple company initialization.
Adds the spacemacs|init-layer-company helper to set up company
completion for a language layer and replaces existing simple company
initializations. More complex initializations should use the new
architecture directly and remain untouched by this commit.
2015-04-07 15:21:13 -04:00
syl20bnr
68ea3652e4 haskell layer: remove yasnippet backend 2015-04-06 23:41:27 -04:00
syl20bnr
9f25277af0 clojure layer: switch to company auto-completion 2015-04-05 23:13:00 -04:00
Rob Merrell
850b5e9723 documented the 'go test' keyboard command 2015-04-04 23:38:36 -04:00
syl20bnr
0645f808e1 clojure layer: Use MELPA cider-eval-sexp-fu 2015-04-04 23:25:11 -04:00
syl20bnr
0f069a47d9 Change evil-matchit init functions to post-init 2015-04-04 01:41:34 -04:00
syl20bnr
bdf370c050 lua layer: move flycheck config in a post-init function 2015-04-04 01:02:37 -04:00
Ryan Phillips
4283417d11 enable flycheck-mode for lua files 2015-04-04 01:01:26 -04:00
Chris Barrett
192b9613c7 scala: Do not enable ensime in non-file buffers
Buffers without a corresponding file name should not use ensime. This
includes diff buffers.
2015-04-04 00:46:24 -04:00
Josh Chase
8fedbe0635 Fix for go-oracle. 2015-04-04 00:43:40 -04:00
Christoph Paulik
0aa6a4dfb6 open cider-doc without asking for symbol, close with q
- fix issue #1028
2015-04-04 00:41:33 -04:00
Christoph Paulik
5fa5b5e9d3 change clojure documentation lookup according to conventions 2015-04-04 00:40:51 -04:00
syl20bnr
2f29b3edbe go layer: rename function to spacemacs/go-run-package-tests 2015-04-04 00:34:03 -04:00
Rob Merrell
baaf03e005 Add go/run-package-tests command bound to 'mtp' 2015-04-04 00:30:44 -04:00
syl20bnr
8f6f9dcff4 python layer: add documentation for SPC m h d 2015-04-04 00:19:17 -04:00
Daniel Wu
6711ae4bca python layer: Add helm-pydoc 2015-04-04 00:18:00 -04:00
Jeremy Huffman
cd3346c125 ghci-ng should now override mht rather than mt 2015-04-04 00:17:31 -04:00
Ben Gamari
2b7a496464 Associate .mkd with markdown-mode
This is a common enough extension that it seems reasonable to do this by
default.
2015-04-04 00:02:58 -04:00
syl20bnr
57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr
0a31c1fedb clojure-layer: fix AC sources 2015-04-03 18:33:37 -04:00
syl20bnr
1e17bb750f Fix various missing init functions 2015-04-03 18:02:00 -04:00
syl20bnr
8b1cf9a784 Move fish-mode to new layer: shell-scripts 2015-04-03 17:44:11 -04:00
syl20bnr
5d8be137e7 Define missing init functions 2015-04-03 17:35:33 -04:00
syl20bnr
318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
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