emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/kotlin-mode 9fba76ff2b 155/162: Fix highlighting of backqu


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 9fba76ff2b 155/162: Fix highlighting of backquotes
Date: Sat, 29 Jan 2022 08:25:32 -0500 (EST)

branch: elpa/kotlin-mode
commit 9fba76ff2b25335cd0c0bc70b862f33a4a0fd70d
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Fix highlighting of backquotes
    
    Example:
    
    ```
    val `out` = 1
    ```
    
    Cause:
    
    Every characters between backquotes are treated as quotation symbols.
---
 kotlin-mode-lexer.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kotlin-mode-lexer.el b/kotlin-mode-lexer.el
index 2548ff06af..29576be8e7 100644
--- a/kotlin-mode-lexer.el
+++ b/kotlin-mode-lexer.el
@@ -155,7 +155,7 @@ the scan stops where the level becomes zero."
             ;; the identifier are not a escape-syntax characters.
             (put-text-property (1+ start) (1- (point))
                                'syntax-table
-                               (string-to-syntax "|")))))
+                               (string-to-syntax "w")))))
 
        ((equal "//" (match-string-no-properties 0))
         (goto-char (match-beginning 0))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]