[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode 89ce39c 050/496: Format file sections
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode 89ce39c 050/496: Format file sections |
Date: |
Sun, 29 Aug 2021 11:33:06 -0400 (EDT) |
branch: elpa/swift-mode
commit 89ce39ca10576183838a4c24171ec576ebd02df4
Author: Chris Barrett <chris.d.barrett@me.com>
Commit: Chris Barrett <chris.d.barrett@me.com>
Format file sections
Use 3 semicolons, remove trailing periods.
---
swift-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/swift-mode.el b/swift-mode.el
index 980ce9c..b3fed55 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -46,6 +46,8 @@
:group 'swift
:type 'integer)
+;;; Indentation
+
(defun swift-indent--paren-level ()
"Return the paren level at point."
(nth 0 (syntax-ppss)))
@@ -181,7 +183,7 @@ Returns the column number as an integer."
(save-excursion
(indent-line-to indent)))))
-;; Font lock.
+;;; Font lock
(defvar swift-mode--type-decl-keywords
'("class" "enum" "protocol" "struct" "typealias"))
@@ -280,7 +282,7 @@ Returns the column number as an integer."
(cons (rx bow "import" eow (+ space) (group (+ word)))
(list 1 font-lock-string-face)))))
-;; Mode definition.
+;;; Mode definition
;; HACK: This syntax table is lifted directly from `rust-mode'. There may be
;; corner cases in the Swift syntax that are not accounted for.
- [nongnu] elpa/swift-mode bb506d0 015/496: Add flycheck-cask to dir-locals, (continued)
- [nongnu] elpa/swift-mode bb506d0 015/496: Add flycheck-cask to dir-locals, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 48a3a25 016/496: Correctly font-lock backtick-enclosed identifiers in let bindings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 741859e 018/496: Add `convenience` to language keywords, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8d2720b 020/496: Add autoload token, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 71e3d6f 033/496: Remove unneeded infrastructure, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 28c5b54 027/496: More improvements to comment handling, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 9b367fe 038/496: Remove duplicate in keywords list, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0bf214b 030/496: Update readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cb745d5 029/496: Define basic indentation command., ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0344f63 036/496: Merge pull request #11 from bbatsov/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 89ce39c 050/496: Format file sections,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 0f99a5a 067/496: Tweak docstring to supress checkdoc error, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 821d9af 064/496: Make switch-case indent offset customisable, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode bbd8f91 096/496: Add tests for all implemented smie grammars, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cfbc318 092/496: Merge pull request #24 from ap4y/fix_paragraph_movements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a8fa421 086/496: Use a more descriptive map variable name inside its definition, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0c908ad 103/496: Remove an outdated statement about the indentation code, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 41d38bd 117/496: Clarify syntax table for syntactic fontification., ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 18e1e4a 107/496: Highlight attributes as keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 98556c1 120/496: Start work on version 0.3, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8be19fb 108/496: Highlight self and super as keyword, ELPA Syncer, 2021/08/29