branch: elpa/swift-mode
commit 3bcdf32a13ee2b869033e983246fb5c5e26c65c0
Author: taku0 <mxxouy6x3m_git...@tatapa.org>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Add more keywords with number sign
---
 swift-mode-font-lock.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el
index 43e3e7c..fde9b3f 100644
--- a/swift-mode-font-lock.el
+++ b/swift-mode-font-lock.el
@@ -68,15 +68,20 @@ Return nil otherwise."
 
     ;; Keywords that begin with a number sign (#)
     ("#available\\>" . font-lock-preprocessor-face)
+    ("#colorLiteral\\>" . font-lock-preprocessor-face)
     ("#column\\>" . font-lock-preprocessor-face)
-    ("#elseif\\>" . font-lock-preprocessor-face)
     ("#else\\>" . font-lock-preprocessor-face)
+    ("#elseif\\>" . font-lock-preprocessor-face)
     ("#endif\\>" . font-lock-preprocessor-face)
+    ("#fileLiteral\\>" . font-lock-preprocessor-face)
     ("#file\\>" . font-lock-preprocessor-face)
     ("#function\\>" . font-lock-preprocessor-face)
     ("#if\\>" . font-lock-preprocessor-face)
+    ("#imageLiteral\\>" . font-lock-preprocessor-face)
+    ("#keypath\\>" . font-lock-preprocessor-face)
     ("#line\\>" . font-lock-preprocessor-face)
     ("#selector\\>" . font-lock-preprocessor-face)
+    ("#sourceLocation\\>" . font-lock-preprocessor-face)
 
     ;; Keywords used in declarations
     "\\<associatedtype\\>"

Reply via email to