branch: elpa/swift-mode commit 286b46e156a694adef70475bbf39d5683d60b6c5 Author: taku0 <mxxouy6x3m_git...@tatapa.org> Commit: taku0 <mxxouy6x3m_git...@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