Fixes Issue #6.
This commit is contained in:
parent
2e769491da
commit
8196589886
11
cuda-mode.el
11
cuda-mode.el
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user