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

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

[nongnu] elpa/swift-mode 286b46e 459/496: Highlight #filePath


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 286b46e 459/496: Highlight #filePath
Date: Sun, 29 Aug 2021 11:34:27 -0400 (EDT)

branch: elpa/swift-mode
commit 286b46e156a694adef70475bbf39d5683d60b6c5
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Highlight #filePath
    
    
https://github.com/apple/swift-evolution/blob/master/proposals/0274-magic-file.md
---
 swift-mode-font-lock.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el
index 143f2be..b3eeabf 100644
--- a/swift-mode-font-lock.el
+++ b/swift-mode-font-lock.el
@@ -1,6 +1,6 @@
 ;;; swift-mode-font-lock.el --- Major-mode for Apple's Swift programming 
language, Font Locks. -*- lexical-binding: t -*-
 
-;; Copyright (C) 2014-2019 taku0, Chris Barrett, Bozhidar Batsov,
+;; Copyright (C) 2014-2020 taku0, Chris Barrett, Bozhidar Batsov,
 ;;                         Arthur Evstifeev, Michael Sanders
 
 ;; Authors: taku0 (http://github.com/taku0)
@@ -531,8 +531,8 @@ Return nil otherwise."
 
 (defconst swift-mode:preprocessor-keywords
   '("#available" "#colorLiteral" "#column" "#dsohandle" "#else" "#elseif"
-    "#endif" "#error" "#file" "#fileLiteral" "#function" "#if" "#imageLiteral"
-    "#keyPath" "#line" "#selector" "#sourceLocation" "#warning")
+    "#endif" "#error" "#file" "#filePath" "#fileLiteral" "#function" "#if"
+    "#imageLiteral" "#keyPath" "#line" "#selector" "#sourceLocation" 
"#warning")
   "Keywords that begin with a number sign (#).")
 
 (defconst swift-mode:declaration-keywords



reply via email to

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