yes
This commit is contained in:
+10
-5
@@ -1,7 +1,4 @@
|
||||
((c++-mode . ((eval . (company-clang-set-prefix "main.cpp"))
|
||||
(eval . (flycheck-mode 0))
|
||||
(eval . (rainbow-mode 0))))
|
||||
(nil . ((eval . (progn
|
||||
((nil . ((eval . (progn
|
||||
(defvar context-mode-map (make-sparse-keymap)
|
||||
"Keymap while context-mode is active.")
|
||||
(define-minor-mode context-mode
|
||||
@@ -34,4 +31,12 @@
|
||||
("o" browse-file-directory "open" :color blue)
|
||||
("q" nil "quit" :color blue))
|
||||
|
||||
(define-key context-mode-map (kbd "<f2>") 'hydra-context/body))))))
|
||||
(define-key context-mode-map (kbd "<f2>") 'hydra-context/body)
|
||||
|
||||
(font-lock-add-keywords 'c++-mode
|
||||
'(("\\<\\(if_debug\\|if_windows\\|if_linux\\)\\>" .
|
||||
font-lock-keyword-face)))))))
|
||||
(c++-mode . ((eval . (company-clang-set-prefix "main.cpp"))
|
||||
(eval . (flycheck-mode 0))
|
||||
(eval . (rainbow-mode 0))
|
||||
)))
|
||||
|
||||
Reference in New Issue
Block a user