Simplify the folder structure
This commit is contained in:
parent
fca83b0b97
commit
6ba7c2fa33
17 changed files with 99 additions and 87 deletions
16
languages/clang.el
Normal file
16
languages/clang.el
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(defun activate-clang-mode ()
|
||||
"Goodies for editing c files"
|
||||
(set-indent 4)
|
||||
(column-enforce-n 80)
|
||||
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-etags company-yasnippet))
|
||||
|
||||
(setq-local
|
||||
ctags/refresh-command
|
||||
(format
|
||||
"ctags -e -R --languages=C -f %sTAGS %s."
|
||||
(projectile-project-root) (projectile-project-root)
|
||||
)))
|
||||
|
||||
(add-hook 'c-mode-hook 'activate-clang-mode)
|
||||
Loading…
Add table
Add a link
Reference in a new issue