6b33031dc5
- Rename contrib directory to layers - Add new variable dotspacemacs-distribution - Move spacemacs layer to layers/!distribution - New layer spacemacs-core in layers/!distribution - User can now set dotspacemacs-distribution to spacemacs or spacemacs-core (default spacemacs) spacemacs-core is very lightweight layer sufficient to build upon spacemacs. |
||
---|---|---|
.. | ||
global_conf.py | ||
packages.el | ||
README.org |
YCMD contribution layer for Spacemacs
Table of Contents TOC@4
Description
This layer adds emacs-ycmd support.
Install
Layer
To use this contribution add it to your ~/.spacemacs
(setq-default dotspacemacs-configuration-layers '(ycmd))
YCMD
In order to use this layer you must have a local ycmd installation and must
set the ycmd-server-command
variable to reflect the path to that installation.
See the emacs-ycmd readme for more instructions on this.
Other Requirements
This package requires the auto-completion
layer in order to get actual
completion. The syntax-checking
layer is required for flycheck support.
Configuration
By default this layer only activates ycmd for c++-mode
.
If you want ycmd suppoert in other modes you might just want to add it for specific languages like:
(add-hook 'c++-mode-hook 'ycmd-mode)
Key Bindings
Adds SPC m g g
go to definition binding to c++-mode
as well as SPC m g G
for the more imprecise but faster version.