emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swift-mode 3bcdf32 353/496: Add more keywords with number


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 3bcdf32 353/496: Add more keywords with number sign
Date: Sun, 29 Aug 2021 11:34:05 -0400 (EDT)

branch: elpa/swift-mode
commit 3bcdf32a13ee2b869033e983246fb5c5e26c65c0
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@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

[Prev in Thread] Current Thread [Next in Thread]