[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode f847923 419/496: Highlight more compiler direct
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode f847923 419/496: Highlight more compiler directives |
Date: |
Sun, 29 Aug 2021 11:34:19 -0400 (EDT) |
branch: elpa/swift-mode
commit f847923de3e26930c83c7efa1e215376f3d004f5
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>
Highlight more compiler directives
---
swift-mode-font-lock.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el
index 621425e..cb12cfc 100644
--- a/swift-mode-font-lock.el
+++ b/swift-mode-font-lock.el
@@ -548,9 +548,9 @@ Return nil otherwise."
"Keywords used as constants.")
(defconst swift-mode:preprocessor-keywords
- '("#available" "#colorLiteral" "#column" "#else" "#elseif" "#endif"
- "#fileLiteral" "#file" "#function" "#if" "#imageLiteral" "#keypath" "#line"
- "#selector" "#sourceLocation")
+ '("#available" "#colorLiteral" "#column" "#dsohandle" "#else" "#elseif"
+ "#endif" "#error" "#file" "#fileLiteral" "#function" "#if" "#imageLiteral"
+ "#keyPath" "#line" "#selector" "#sourceLocation" "#warning")
"Keywords that begin with a number sign (#).")
(defconst swift-mode:declaration-keywords
@@ -580,8 +580,10 @@ Excludes true, false, and keywords begin with a number
sign.")
"Keywords reserved in particular contexts.")
(defconst swift-mode:build-config-keywords
- '("os" "arch" "swift" "OSX" "iOS" "watchOS" "tvOS" "i386" "x86_64" "arm"
- "arm64" "iOSApplicationExtension" "OSXApplicationExtension")
+ '("os" "arch" "swift" "compiler" "canImport" "targetEnvironment"
+ "OSX" "macOS" "iOS" "watchOS" "tvOS" "i386" "x86_64" "arm" "arm64"
+ "iOSApplicationExtension" "OSXApplicationExtension"
+ "macOSApplicationExtension" "simulator")
"Keywords for build configuration statements.")
(defconst swift-mode:standard-precedence-groups
- [nongnu] elpa/swift-mode b5602c1 375/496: Add beginning/end-of-sentence to README.md, (continued)
- [nongnu] elpa/swift-mode b5602c1 375/496: Add beginning/end-of-sentence to README.md, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 18c3dc4 376/496: Bump version to 4.0.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 27e959e 385/496: Handle unmatched parens correctly, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode abf3426 392/496: Add support for highlighting function calls / properties / enum cases, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 560242d 393/496: Add support for choosing scheme when building/running iOS projects, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c56f43c 395/496: Make faces customizable, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 6d4fab5 396/496: Move customizations for REPL to their own group, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 604610d 399/496: Fix LLDB breakpoint option, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 6fdb3cd 403/496: Fix `swift-mode:debug-swift-module`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d2f2f1d 410/496: Bump version to 6.0.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f847923 419/496: Highlight more compiler directives,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 0b1e5e8 420/496: Support raw texts, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 348e153 422/496: Change buffer name of REPL, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0eca818 431/496: Add test for Imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ddc7ae6 436/496: Fix `adaptive-fill-regexp` for multiline comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2e9bdc6 430/496: Ignore import declarations in Imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b2d9cca 434/496: Fix small bugs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 9d948d9 429/496: Add parser for function parameters for Imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1362849 435/496: Use `seq-mapcat` instead of `apply` '`nonc` and `mapcar`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 64dff57 441/496: Update standard types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 62cf880 437/496: Update electric indent inside multiline comments, ELPA Syncer, 2021/08/29