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

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

[nongnu] elpa/haskell-ts-mode 044c1e54fd 48/61: changed syntax table


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-ts-mode 044c1e54fd 48/61: changed syntax table
Date: Wed, 4 Sep 2024 04:00:31 -0400 (EDT)

branch: elpa/haskell-ts-mode
commit 044c1e54fd17ff8be83a2a91491eb2df4350bd78
Author: pranshu <pranshusharma366@gmail.com>
Commit: pranshu <pranshusharma366@gmail.com>

    changed syntax table
    
    _ now seperates word
---
 haskell-ts-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el
index 5e63641aee..a0ca3eac42 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -230,7 +230,7 @@
           ;; Backup
           (catch-all parent 2)))))
 
-;; Copied from haskell-tng-mode
+;; Copied from haskell-tng-mode, changed a bit
 (defvar haskell-ts-mode-syntax-table
       (let ((table (make-syntax-table)))
        (map-char-table
@@ -248,7 +248,7 @@
        (seq-do
         (lambda (it) (modify-syntax-entry it "_" table))
         (string-to-list "!#$%&*+./<=>?\\^|-~:"))
-       (modify-syntax-entry ?_ "w" table)
+       (modify-syntax-entry ?_ "_" table)
        ;; some special (treated like punctuation)
        (seq-do
         (lambda (it) (modify-syntax-entry it "." table))



reply via email to

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