[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode 613539eedc 042/162: Fix trailing parentheses
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode 613539eedc 042/162: Fix trailing parentheses |
Date: |
Sat, 29 Jan 2022 08:25:20 -0500 (EST) |
branch: elpa/kotlin-mode
commit 613539eedc3350bbf551a008b9290746db6315da
Author: Remy Goldschmidt <taktoa@gmail.com>
Commit: Remy Goldschmidt <taktoa@gmail.com>
Fix trailing parentheses
---
Cask | 3 +--
kotlin-mode.el | 33 +++++++++++----------------------
2 files changed, 12 insertions(+), 24 deletions(-)
diff --git a/Cask b/Cask
index 1d46d83ebe..9ca1c17bd1 100644
--- a/Cask
+++ b/Cask
@@ -7,5 +7,4 @@
(depends-on "ecukes")
(depends-on "ert-expectations")
(depends-on "ert-runner")
- (depends-on "rx")
- )
+ (depends-on "rx"))
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 0ed25cc941..93c110f617 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -30,13 +30,11 @@
(defcustom kotlin-mode-hook nil
"Hook run after entering `kotlin-mode'."
:type 'hook
- :group 'kotlin
- )
+ :group 'kotlin)
(defvar kotlin-mode-map (make-sparse-keymap)
- "Keymap used by `kotlin-mode'."
- )
+ "Keymap used by `kotlin-mode'.")
(defvar kotlin-mode-syntax-table
@@ -83,8 +81,7 @@
kotlin-mode--val-decl-keywords
kotlin-mode--statement-keywords
kotlin-mode--context-variables-keywords)
- "Keywords used in Kotlin language."
- )
+ "Keywords used in Kotlin language.")
(defconst kotlin-mode--constants-keywords
'("null" "true" "false"))
@@ -97,12 +94,10 @@
'("by" "get" "set"))
(defconst kotlin-mode--initializer-keywords
- '("init" "constructor")
- )
+ '("init" "constructor"))
(defvar kotlin-mode-font-lock-keywords
- `(
- ;; Keywords
+ `(;; Keywords
(,(rx-to-string
`(and bow (group (or ,@kotlin-mode--keywords)) eow)
t)
@@ -186,10 +181,8 @@
1 font-lock-string-face)
;; String interpolation
- (kotlin-mode--match-interpolation 0 font-lock-variable-name-face t)
- )
- "Default highlighting expression for `kotlin-mode'"
- )
+ (kotlin-mode--match-interpolation 0 font-lock-variable-name-face t))
+ "Default highlighting expression for `kotlin-mode'")
(defun kotlin-mode--syntax-propertize-interpolation ()
(let* ((pos (match-beginning 0))
@@ -199,8 +192,7 @@
(put-text-property pos
(1+ pos)
'kotlin-property--interpolation
- (match-data))))
- )
+ (match-data)))))
(defun kotlin-mode--syntax-propertize-function (start end)
(let ((case-fold-search))
@@ -213,8 +205,7 @@
`(or (group "${" (* ,identifier) "}")
(group "$" (+ ,identifier)))))
(0 (ignore (kotlin-mode--syntax-propertize-interpolation)))))
- start end))
- )
+ start end)))
(defun kotlin-mode--match-interpolation (limit)
(let ((pos (next-single-char-property-change (point)
@@ -227,8 +218,7 @@
(if value
(progn (set-match-data value)
t)
- (kotlin-mode--match-interpolation limit)))))
- )
+ (kotlin-mode--match-interpolation limit))))))
(define-derived-mode kotlin-mode prog-mode "Kotlin"
@@ -238,8 +228,7 @@
(setq-local syntax-propertize-function
#'kotlin-mode--syntax-propertize-function)
:group 'kotlin
- :syntax-table kotlin-mode-syntax-table
- )
+ :syntax-table kotlin-mode-syntax-table)
(provide 'kotlin-mode)
;;; kotlin-mode.el ends here
- [nongnu] elpa/kotlin-mode 1b6d311168 108/162: Merge pull request #31 from jojojames/master, (continued)
- [nongnu] elpa/kotlin-mode 1b6d311168 108/162: Merge pull request #31 from jojojames/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 734b08408c 103/162: Add send-{block, buffer, line, region}-and-focus functions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 472ae23d6a 113/162: Fix syntax highlighting of star-projected types, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 002dd1497c 112/162: Merge pull request #36 from mikegolod/issue-35, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ea5f378e40 129/162: Merge pull request #43 from taku0/add-prefix-to-methods, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b4b575ce3a 130/162: Merge pull request #41 from ppareit/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 5dbf5dbf5f 132/162: Add *~ to .gitignore, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e8100a9070 137/162: Adds more emacs versions to test matrix, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 29730e7908 153/162: Add Makefile, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 5d2d7b4f5a 157/162: Make underscore and at sign as a part of a symbol, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 613539eedc 042/162: Fix trailing parentheses,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode b4b1ace8cc 043/162: In kotlin-mode.el: (c) -> ©, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 9762ca895d 050/162: The characters '?' and '!' are now font-locked properly in types, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8910b4bf55 054/162: Add "as" to set of statement keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 4aef379a2a 062/162: Removed rx dependency from Caskfile, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 0d89426a75 064/162: Merge branch 'package-improvements' of https://github.com/rexim/kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 565a266142 063/162: Add kt to auto-mode-alist to trigger kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 043615d3c3 065/162: Merge branch 'master' of https://github.com/purcell/kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b4ec722a4c 071/162: lexical-binding setting must be at first line, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ed5bb641a9 073/162: makes tab-width configurable, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 52c8099b45 078/162: Merge pull request #1 from taktoa/master, ELPA Syncer, 2022/01/29