branch: elpa/kotlin-mode
commit 9fba76ff2b25335cd0c0bc70b862f33a4a0fd70d
Author: taku0 <[email protected]>
Commit: taku0 <[email protected]>

    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