branch: elpa/haskell-ts-mode
commit 3427f84c9b9787aed1aac944dfc37da0392c93e5
Author: Pranshu Sharma <pranshu@pebl>
Commit: Pranshu Sharma <pranshu@pebl>

    adding '#' for function name
    
    thanks stefan
---
 haskell-ts-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el
index df0e7295ae..f296832a0a 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -162,7 +162,7 @@
                    '("when" "where" "do" "let" "local_binds" "function"))))
          (treesit-node-start parent)
        (haskell-ts--stand-alone-parent 1 (funcall
-                                          (if bol 'treesit-node-parent 
'identity)
+                                          (if bol #'treesit-node-parent 
#'identity)
                                           (treesit-node-parent parent))
                                        nil)))))
 
@@ -336,8 +336,8 @@
 
 (defvar-keymap  haskell-ts-mode-map
   :doc "Keymap for haskell-ts-mode."
-  "C-c C-c" 'haskell-ts-compile-region-and-go
-  "C-c C-r" 'run-haskell)
+  "C-c C-c" #'haskell-ts-compile-region-and-go
+  "C-c C-r" #'run-haskell)
 
 ;;;###autoload
 (define-derived-mode haskell-ts-mode prog-mode "haskell ts mode"

Reply via email to