branch: elpa/swift-mode commit 7de00af05fa22b067a9c9a7090d5355e86c3a108 Author: taku0 <mxxouy6x3m_git...@tatapa.org> Commit: taku0 <mxxouy6x3m_git...@tatapa.org>
Add #unavailable keyword https://github.com/apple/swift-evolution/blob/main/proposals/0290-negative-availability.md --- swift-mode-font-lock.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el index d0cfefab56..bbe0d7672f 100644 --- a/swift-mode-font-lock.el +++ b/swift-mode-font-lock.el @@ -535,7 +535,8 @@ Return nil otherwise." (defconst swift-mode:preprocessor-keywords '("#available" "#colorLiteral" "#column" "#dsohandle" "#else" "#elseif" "#endif" "#error" "#file" "#filePath" "#fileLiteral" "#function" "#if" - "#imageLiteral" "#keyPath" "#line" "#selector" "#sourceLocation" "#warning") + "#imageLiteral" "#keyPath" "#line" "#selector" "#sourceLocation" + "#unavailable" "#warning") "Keywords that begin with a number sign (#).") (defconst swift-mode:declaration-keywords