mirror of
https://github.com/reactos/CMake.git
synced 2025-02-08 21:09:48 +00:00
BUG: Tabs around a function name are allowed.
This commit is contained in:
parent
7b5c4abc74
commit
0a9d238def
@ -25,7 +25,7 @@
|
|||||||
;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path))
|
;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path))
|
||||||
;; (require 'cmake-mode)
|
;; (require 'cmake-mode)
|
||||||
;; (setq auto-mode-alist
|
;; (setq auto-mode-alist
|
||||||
;; (append '(("CMakeLists.txt" . cmake-mode)
|
;; (append '(("CMakeLists\\.txt" . cmake-mode)
|
||||||
;; ("\\.cmake$" . cmake-mode))
|
;; ("\\.cmake$" . cmake-mode))
|
||||||
;; auto-mode-alist))
|
;; auto-mode-alist))
|
||||||
|
|
||||||
@ -156,7 +156,7 @@
|
|||||||
;; Keyword highlighting regex-to-face map.
|
;; Keyword highlighting regex-to-face map.
|
||||||
;;
|
;;
|
||||||
(defconst cmake-font-lock-keywords
|
(defconst cmake-font-lock-keywords
|
||||||
(list '("^[ ]*\\(\\w+\\)[ ]*(" 1 font-lock-function-name-face))
|
(list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face))
|
||||||
"Highlighting expressions for CMAKE mode."
|
"Highlighting expressions for CMAKE mode."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user