Commit graph

38 commits

Author SHA1 Message Date
Aaron Jensen
141be7f8c2 elixir: fix smartparens hook
Fixes #6660
2016-07-25 19:36:07 +09:00
Christian E. Hopps
b22702bc9e Expand gtags use to many more languages 2016-07-17 17:31:59 +02: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
6798af57e3 implement API for local-vars-hook 2016-06-26 13:51:11 -04:00
syl20bnr
84aee08b6f elixir: improve documentation for flycheck-mix 2016-06-07 23:51:33 -04:00
Tomasz Kowal
194813961b Replace local elixir-flycheck-mix-compile package with flycheck-mix from melpa 2016-06-07 23:37:53 -04:00
syl20bnr
a2308d9b30 elixir: remove not maintained packages
credo and test results flycheck checkers
2016-06-01 21:25:02 -04:00
syl20bnr
a019d0a15c elixir: don't use flycheck-mode-hook for checkers 2016-06-01 11:28:10 -04:00
syl20bnr
e825ad9be0 elixir: update doc 2016-05-31 22:23:18 -04:00
syl20bnr
4996f5248c elixir: add flycheck support for test results 2016-05-31 22:15:19 -04:00
syl20bnr
5b97df814e elixir: add flycheck support for credo 2016-05-31 21:51:49 -04:00
syl20bnr
dd572af071 elixir: add flycheck support for mix compile 2016-05-31 21:34:51 -04:00
syl20bnr
8fc53ae311 elixir: fix major mode face in mode-line
when a file is opened.
2016-05-31 20:21:50 -04:00
syl20bnr
5af1e453c6 elixir: fix smartparens setup 2016-05-31 13:49:09 -04:00
syl20bnr
303e76b769 remove remaining packages-funcs.el and packages-config.el 2016-05-27 00:32:05 -04:00
syl20bnr
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
syl20bnr
3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
syl20bnr
16afe67907 core: enhance lazy installation of layer
Now Spacemacs will ask for layer installation when opening a file with
a known file type.
The auto-mode-alist entries are added by the file auto-layer.el in
the layers directory.

Easy insert of forms for lazy initialization can be done with the
interactive function configuration-layer//insert-lazy-install-form.

Change default value of dotspacemacs-enable-lazy-installation to t.
2016-03-25 01:03:37 -04:00
syl20bnr
1bc773cc5f elixir: fix lazy installation configuration 2016-03-05 23:25:00 -05:00
Johan K. Jensen
be2c471397 Fix inline code blocks
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
syl20bnr
86003bfc75 Elixir: move function to packages-funcs.el and prefix it 2016-02-14 23:15:39 -05:00
Mario Mainz
c476c03360 Remove ruby-end-mode and use smartparens instead
ruby-end-mode does not always behave correctly. An example for that is
if statements, which don't have an end statement if they are written on
one line. Also, it feels dirty to use a Ruby package to implement Elixir
syntax behaviour.
Smartparens has functionality to define pairs for certain major modes.
This adds smartparens pairs for the "do" keyword and the arrow (->)
operator, so that the "end" keyword is automatically inserted and
properly indented on enter.
2016-02-14 23:13:05 -05:00
Eivind Fonn
e29ac21345 Register all REPLs and make SPC m ' bindings 2016-01-31 23:39:25 -05:00
syl20bnr
45def1ec60 core: Add support for lazy installed layer.
New function configuration-layer/lazy-install to add support for
lazy installation of layers based on auto-mode-alist emacs mechanism.

This is essentially the Prelude feature but translated at the layer
level for Spacemacs.

New dotspacemacs variable to enable this feature:
dotspacemacs-enable-lazy-installation
For now this variable is set to nil by default, it will be put to t when
the feature is stable.

POC with elixir layer.
2016-01-31 00:10:14 -05:00
syl20bnr
5a061b3813 core: new layer files packages-config.el and packages-funcs.el
Start to isolate the list of packages. Also we want to define packages
function at the top level of an elisp file in order to not prevent
emacs from knowing where the functions are defined.

This commit has a POC made with elfeed and elixir layers.
2016-01-31 00:03:04 -05:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
syl20bnr
cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Eivind Fonn
02585f72a2 Fix ruby-end hook removal 2016-01-03 15:49:38 +01:00
Darian Moody
a221be59a6 Add leader support for alchemist-mix-rerun-last-test
A command in Alchemist which allows a user to rerun the last test ran.

See https://github.com/tonini/alchemist.el#testing for command docs.
2015-12-11 02:08:23 -05:00
Tim Buchwaldt
724efaaa79 Add new alchemist-iex-reload-module functionality
Since https://github.com/tonini/alchemist.el/commit/395e6717
calling `alchemist-iex-reload-module` reloads the module in
the current buffer via `r(Module)`

(Also my first contribution to spacemacs, hope I'm holding it right)

Update Readme to reflect changes to packages.el
2015-12-11 01:36:16 -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
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
Eivind Fonn
13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
Utkarsh Kukreti
89001ff7cb elixir: Bind "q" to 'quit-window in various elixir modes. 2015-10-31 14:09:34 +01:00
Utkarsh Kukreti
6aa2f7db29 elixir: Enable company-mode in alchemist-iex-mode. 2015-10-31 14:08:45 +01:00
David Gu
47ce1707b6 Declare prefixes for elixir-mode 2015-10-21 17:31:04 -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