[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode c91a82b864 031/162: kotlin-mode: Highlight try
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode c91a82b864 031/162: kotlin-mode: Highlight try-`catch-finally' |
Date: |
Sat, 29 Jan 2022 08:25:19 -0500 (EST) |
branch: elpa/kotlin-mode
commit c91a82b86471d663497d4cc76553581e3facd0de
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>
kotlin-mode: Highlight try-`catch-finally'
---
kotlin-mode.el | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 72582fe610..5c447063bf 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -143,6 +143,19 @@
eow)
t)
1 font-lock-keyword-face)
+
+ ;; try-catch-finally
+ ;; `catch' and `finally' are valid identifier being used as variable
+ (,(rx-to-string
+ `(and bow (group "catch") eow
+ (* space) (*? anything) "{" )
+ t)
+ 1 font-lock-keyword-face)
+ (,(rx-to-string
+ `(and bow (group "finally") eow
+ (*? (or space ?\n)) "{")
+ t)
+ 1 font-lock-keyword-face)
)
"Default highlighting expression for `kotlin-mode'"
)
- [nongnu] elpa/kotlin-mode 9fba76ff2b 155/162: Fix highlighting of backquotes, (continued)
- [nongnu] elpa/kotlin-mode 9fba76ff2b 155/162: Fix highlighting of backquotes, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 3e0c34087b 162/162: Merge pull request #61 from taku0/make_underbar_symbol, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode cbeeef8986 015/162: kotlin-mode: Define type declaration keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c6207be613 038/162: kotlin-mode: Add kotin-mode--syntax-propertize-function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 78db8656d4 047/162: Fixed font lock for types, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 1624e7d795 052/162: add 'nested' and 'inner' class modifiers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 4787bf94c1 058/162: Ignore dist folder produce by `cask package`, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d4e97ffa4b 095/162: Switch from using a Bash script to using Make for the tests. Though 'cask exec eert-runner' also works to run the tests., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b86f9b4607 147/162: Fix indentation after comment containing close brackets, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode fe905c587a 023/162: kotlin-mode: Highlight classes/enums, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c91a82b864 031/162: kotlin-mode: Highlight try-`catch-finally',
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode 9314dd61f6 040/162: kotlin-mode: Use syntax-propertize-function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 748fcbbec9 049/162: Fix bug in regular expression, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 4f1d0a3919 055/162: Add 'interface' as a type decl keyword, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e75f8b0113 144/162: Make compatible with Emacs 24.3, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b9d03a769b 158/162: Add version attribute, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 36b030022e 120/162: Improve identification and handling of line continuation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 639203bf84 143/162: Require cl-lib instead of cl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8e6dd578f2 154/162: Merge pull request #52 from taku0/add-makefile, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ffeb70e788 048/162: Temporarily disable syntax highlighting for "by", "get", "set", "in", and "out", ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 86b94d7d34 160/162: Add LICENSE file, ELPA Syncer, 2022/01/29