[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configuring irony
From: |
Sanjeev Sariya |
Subject: |
configuring irony |
Date: |
Sun, 11 Oct 2015 18:17:47 -0700 (PDT) |
User-agent: |
G2/1.0 |
Hi Emacs Users,
Apologies if this a naive query. I'm new to emacs world, and have been trying
to learn how to set up config in .emacs/init.el file for irony package.
I've installed/downloaded irony, company-irony, added their path to my .emacs
file, yet they don't work.
https://github.com/Sarcasm/irony-mode
My .emacs file look like:
(add-to-list 'load-path
"/Users/sariyasanjeev/.emacs.d/elpa/irony-20150831.144/")
(load "irony.el")
(require 'irony)
(add-hook 'c++-mode-hook 'irony-mode)
(add-hook 'c-mode-hook 'irony-mode)
(add-hook 'objc-mode-hook 'irony-mode)
(add-to-list 'load-path
"/Users/sariyasanjeev/.emacs.d/elpa/company-irony-20150810.239/")
(eval-after-load 'company
'(add-to-list 'company-backends 'company-irony))
How do I enable these? Emacs -version 24.5.1 GNU, OSX, 10.9
Please help me.
Best,
Sanjeev