Commit graph

89 commits

Author SHA1 Message Date
Codruț Constantin Gușoi
6b4900940f Fixes markdown org table saving 2017-04-17 19:48:13 -04:00
syl20bnr
cbab7cac59 markdown: add SPC m i t key binding to instert toc 2017-02-09 17:02:50 -05:00
d12frosted
2319bdc350
add note about flymd in markdown layer 2017-02-01 16:00:43 +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
syl20bnr
5d73a500c0 markdown: hide MMM linter in mode-line 2016-12-19 10:50:14 -05:00
syl20bnr
cb98c42ed8 markdown: correctly enable mmm-mode and add support for ini files 2016-12-19 10:46:46 -05:00
Robert O'Connor
8aa42a0719
Enable orgtbl-mode in markdown-mode
This makes working with tables much nicer.
2016-10-03 21:12:23 +03:00
Eivind Fonn
d365a2410a Re-fix SPC : -> SPC SPC 2016-08-22 14:51:33 +02:00
Marlin NA
bc3a9fd1a0 Fix description: command of generating TOC 2016-08-22 14:50:54 +02:00
Fabien Dubosson
5df76ed1d1 Fix the loading of vmd for daemon mode
When Spacemacs is used in daemon mode, the `PATH` is not always filled
up with user-defined run paths when Spacemacs load the packages. The
`toggle` of the `vmd` package is checking for the `vmd` executable which
may be in one of the user path, what prevent the package to be loaded,
even if the executable is available at execution time.

If people want to use `vmd`, setting `markdown-live-preview-engine`
should be enough, there is no need for checking for the executable to be
present, this is the responsability of the user to ensure this.
2016-07-05 00:23:16 -04:00
syl20bnr
ea77a5d764 markdown: new layer variable markdown-live-preview-engine 2016-06-06 23:39:41 -04:00
Jeremy Bi
c267c36be1 Add vmd support in markdown mode 2016-06-06 23:01:06 -04:00
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
sooheon
15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
syl20bnr
9160109110 bibtex: format layer
Remove packages-config.el
Fix format of README
2016-04-17 00:37:47 -04:00
JP-Ellis
97aff9d8db Add BibTeX layer.
Integrates with org mode and LaTeX in order to manage citations.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-04-17 00:37:47 -04:00
syl20bnr
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
Sebastian Wiesner
bd4fe19d4d markdown: Add binding for live preview mode 2016-04-11 21:00:24 +02:00
Pablo de Oliveira
cc3cfcddfd Fix +lang/markdown documentation on promotion and movement keybindings
Update documentation by removing obsolete keybindings that
were deleted from +lang/markdown layer in 7b6678e.

In particular the ~SPC m =~, ~SPC m -~ and ~SPC m l [h/j/k/l]~
have been superseded by the **Movement** bindings.
2016-04-05 12:29:33 +02:00
syl20bnr
3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
panicbit
8afd46a1c1 Add Rust support in markdown files 2016-02-23 20:48:13 +01:00
Fabien Dubosson
06cb27e1dc [doc] Fix some additional SPC : to SPC SPC 2016-02-07 14:39:54 +01:00
rustyplanet
4265e0e35c make curly braces optional for the R language indication in markdown 2016-01-13 00:42:59 -05:00
rustyplanet
1bff8a2f61 add ESS (R-mode) support to markdown files 2016-01-13 00:42:59 -05:00
Alejandro Catalina Feliú
1ec305463d Add javascript support on markdown
Enable syntax highlighting.
2016-01-11 21:45:13 -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
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
Eivind Fonn
405dc6600d Restore alphabetical order in markdown doc 2015-10-25 11:01:08 +01:00
Wieland Hoffmann
9d12307ce9 Fix the list of buffer-wide commands in markdown
The old list was completely wrong for some reason, so here's the correct
one, in the order the keybindings appear in packages.el.
2015-10-25 10:51:19 +01:00
syl20bnr
bbd031d407 markdown: add doc for SPC m x C 2015-10-21 17:12:30 -04:00
Sebastian Wiesner
b8846361ad Add binding for markdown GFM code blocks
Also declare prefixes for markdown keys
2015-10-21 17:04:16 -04:00
syl20bnr
f21d1bb6e8 markdown: move SPC mcr to gh-md init function 2015-09-29 21:41:58 -04:00
Tommi Komulainen
81f6ab4dc2 markdown: include missing gh-md package
Needed for `SPC m c r` (gh-md-render-buffer) command. Fixes #3192
2015-09-29 21:37:32 -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