branch: elpa/haskell-ts-mode
commit 044c1e54fd17ff8be83a2a91491eb2df4350bd78
Author: pranshu <pranshusharma...@gmail.com>
Commit: pranshu <pranshusharma...@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