0.4 bump; refactor + new plugins + level up emacsfu
This commit is contained in:
parent
d073d61531
commit
c7db4e0096
12 changed files with 259 additions and 208 deletions
|
@ -31,7 +31,11 @@
|
|||
(when IS-MAC
|
||||
(after! flycheck
|
||||
(setq-default flycheck-c/c++-clang-executable "clang++"
|
||||
flycheck-clang-include-path '("/usr/local/include"))))
|
||||
flycheck-clang-include-path '("/usr/local/include"))
|
||||
|
||||
(add-hook! c-mode (setq flycheck-clang-language-standard "C11"))
|
||||
(add-hook! c++-mode (setq flycheck-clang-language-standard "c++11"
|
||||
flycheck-clang-standard-library "libc++"))))
|
||||
|
||||
(after! company
|
||||
;; TODO Clang is *really* slow in larger projects, maybe replace it with
|
||||
|
@ -41,8 +45,6 @@
|
|||
(define-company-backend! objc-mode (c-headers xcode)))
|
||||
|
||||
(add-hook! c++-mode 'narf|init-c++-C11-highlights)
|
||||
(add-hook! c++-mode (setq flycheck-clang-language-standard "c++11"
|
||||
flycheck-clang-standard-library "libc++"))
|
||||
|
||||
;; Fix enum and C++11 lambda indentation
|
||||
(defadvice c-lineup-arglist (around c-lineup-arglist-indent-fix activate)
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
(setq mode-name "JS2"))
|
||||
|
||||
(define-minor-mode nodejs-mode
|
||||
:lighter " Node" :keymap (make-sparse-keymap)
|
||||
:lighter " node" :keymap (make-sparse-keymap)
|
||||
(add-yas-minor-mode! 'nodejs-mode))
|
||||
(associate! nodejs-mode :files ("package.json") :in (js2-mode)))
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(define-minor-mode lb6-mode
|
||||
"Launchbar development mode."
|
||||
:init-value nil
|
||||
:lighter "lb6"
|
||||
:lighter " lb6"
|
||||
:keymap (make-sparse-keymap)
|
||||
(add-yas-minor-mode! 'lb6-mode))
|
||||
(associate! lb6-mode :match "\\.lb\\(action\\|ext\\)/.*$")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue