[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode 70d36a45c9 051/162: Add comment syntax
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode 70d36a45c9 051/162: Add comment syntax |
Date: |
Sat, 29 Jan 2022 08:25:21 -0500 (EST) |
branch: elpa/kotlin-mode
commit 70d36a45c98d979c85e80a4b8fc1b6d7fd1556a6
Author: Dr. ERDI Gergo <gergo@erdi.hu>
Commit: Dr. ERDI Gergo <gergo@erdi.hu>
Add comment syntax
---
kotlin-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index d9d6fc7ae5..d4c4325c78 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -220,6 +220,10 @@
(setq-local font-lock-defaults '((kotlin-mode-font-lock-keywords) nil nil))
(setq-local syntax-propertize-function
#'kotlin-mode--syntax-propertize-function)
+ (set (make-local-variable 'comment-start) "//")
+ (set (make-local-variable 'comment-padding) 1)
+ (set (make-local-variable 'comment-start-skip) "\\(//+\\|/\\*+\\)\\s *")
+ (set (make-local-variable 'comment-end) "")
:group 'kotlin
:syntax-table kotlin-mode-syntax-table)
- [nongnu] elpa/kotlin-mode 2c9598c4e6 005/162: kotlin-mode: Define a hook after entering kotlin-mode, (continued)
- [nongnu] elpa/kotlin-mode 2c9598c4e6 005/162: kotlin-mode: Define a hook after entering kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b23bbf758e 010/162: kotlin-mode: Use kotlin-mode-syntax-table, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 81a49e95e6 011/162: kotlin-mode: Add kotlin-mode-font-keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ea74bb577a 016/162: kotlin-mode: Define function declaration keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 20dca19dba 009/162: kotlin-mode: syntax-table - Define strings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 0c7ca08d99 018/162: kotlin-mode: Define statement keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d801f5c5cf 020/162: kotlin-mode: Define keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d2436b8763 013/162: Cask: Use rx, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 56cfb15910 029/162: kotlin-mode: Highlight function names, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 6cfa5b71cf 032/162: kotlin-mode: Define property keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 70d36a45c9 051/162: Add comment syntax,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode ffd69308ab 056/162: Handle all typedecl keywords the same way, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 04aa6eab91 068/162: handles parens while indenting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 81b869a98c 075/162: consistent naming, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 34d89566b4 084/162: First stab at a README., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 9e2e4c11fe 090/162: Merge pull request #13 from gregghz/whitespace-indent, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a2c2628d55 104/162: Merge pull request #27 from trevorsummerssmith/more-focus, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 5d83221994 109/162: 1x indent inside parenthesis, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 41eaed3e38 116/162: Remove overwritten <tab> key mapping so that region indentation works, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 5e9aff2ae9 122/162: Fix tests to run in the expected test environment., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 7de9cc101a 133/162: Add *.elc to .gitignore, ELPA Syncer, 2022/01/29