This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/tools/ycmd
2015-04-27 21:27:46 -04:00
..
global_conf.py Move some layers to tools category 2015-04-25 00:03:24 -04:00
packages.el ycmd layer: Move c specific config to c-c++ layer 2015-04-27 21:27:46 -04:00
README.md Update ycmd documentation. 2015-04-26 00:44:18 -04:00

YCMD contribution layer for Spacemacs

Table of Contents

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: elisp (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.