lang/cc: general refactor

For idempotence and to group dependencies so certain sub-packages (like
irony's) aren't loaded if irony is disabled.
This commit is contained in:
Henrik Lissner 2018-06-05 02:06:01 +02:00
parent 7880154214
commit 3c52c36c2f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 43 additions and 47 deletions

View file

@ -1,5 +1,13 @@
;;; lang/cc/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.cl\\'" . opencl-mode))
;;
;; Library
;;
;;;###autoload
(defun +cc/reload-compile-db ()
"Reload the current project's JSON compilation database."