Fixes Issue #6.

This commit is contained in:
Jack Morrison 2015-12-13 20:20:51 -07:00
parent 2e769491da
commit 8196589886

View File

@ -277,12 +277,11 @@ Each list item should be a regexp matching a single identifier."
(c-lang-const c-matchers-3 cuda)
"Accurate normal highlighting for CUDA mode.")
(defvar cuda-font-lock-keywords
(append cuda-font-lock-keywords-3
(list
(list
(regexp-opt cuda-builtins 'symbols)
(0 'font-lock-builtin-face))))
;;; Not used yet. Still figuring out cc-mode.
(setq cuda-builtins-regexp (regexp-opt cuda-builtins 'symbols))
(setq cuda-builtins-regexp nil)
(defvar cuda-font-lock-keywords cuda-font-lock-keywords-3
"Default expressions to highlight in CUDA mode.")
(defvar cuda-mode-syntax-table nil