doomemacs/modules/lang/cc
Henrik Lissner 3e53c3ba76 Restrict irony-mode to cc-modes
Irony-mode gets triggered for other modes derived from cc-mode, like php
or java. Might fix #81.
2017-05-22 22:27:47 +02:00
..
autoload.el lang/cc: remove +cc/install (vestigial; using bootstrapper now) 2017-04-05 15:55:11 -04:00
config.el Restrict irony-mode to cc-modes 2017-05-22 22:27:47 +02:00
packages.el lang/cc: update README, remove bootstrap 2017-05-04 10:46:12 +02:00
README.org lang/cc: update README, remove bootstrap 2017-05-04 10:46:12 +02:00
setup.sh Update modules/lang/* 2017-02-20 00:26:08 -05:00

C/C++/Obj-C

I use C/C++ mostly for developing games. To that end, this module leverages the irony plugin for auto-completion, eldoc documentation and syntax checking (with flycheck).

Though it provides Objective-C support, I don't use it except to inspect generated glue code for iOS mobile apps.

Installation

irony-server is required to use irony-mode's features auto-completion (among other things).

To install it, run M-x irony-install-server, which requires cmake and libclang.

MacOS

brew install cmake
brew install llvm  # 1gb+ installer: may take a while!

Arch Linux

sudo pacman --needed --noconfirm -S clang cmake