Commit graph

11 commits

Author SHA1 Message Date
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Ben cc1b087497 adding the package magic-latex-buffer to the latex layer 2017-05-30 12:28:26 +02:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
Eivind Fonn 107fe46d6e Fix latex-mode jump handler definition 2016-09-05 09:48:54 +02:00
syl20bnr 317694b160 Define missing jumper handler variables for helm-gtags 2016-09-05 02:38:13 -04:00
syl20bnr 1243d0096c latex: remove commented code 2016-04-03 00:37:50 -04:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
justbur 93cfc876a6 latex: Add tex-fold-mode option and reorganize
Add the latex-enable-folding variable which turns on TeX-fold-mode and
adds some related bindings.

Reorganize the layer:
1. Move reftex into packages.el and delete the extensions file.
2. Don't duplicate the binding of keys. Use a loop to bind in tex-mode
   and latex-mode. Then just add the additional latex-mode bindings
2016-01-03 22:23:12 -05:00
Ista Zahn 852ec8fb41 Configure latexmk as the default build command 2015-11-14 15:10:17 +01: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
Renamed from layers/!lang/latex/config.el (Browse further)