Haskell stuff

This commit is contained in:
2025-11-17 07:21:16 -08:00
parent bf53c657a8
commit 114553abb1

View File

@ -239,7 +239,8 @@
(cmake "https://github.com/uyha/tree-sitter-cmake")
(blueprint "https://github.com/huanie/tree-sitter-blueprint")
(kdl "https://github.com/tree-sitter-grammars/tree-sitter-kdl")
(php "https://github.com/tree-sitter/tree-sitter-php")))
(php "https://github.com/tree-sitter/tree-sitter-php")
(haskell "https://github.com/tree-sitter/tree-sitter-haskell")))
;; Tree sitter major mode conversions
(dolist (ent '((c-mode . c-ts-mode)
(c++-mode . c++-ts-mode)
@ -1930,6 +1931,12 @@ MAPS are expected to be keymaps for modes for languages with C-style comments."
parent-bol java-ts-mode-indent-offset)
(nthcdr 1 rules))))))
;; haskell-ts-mode
(use-package haskell-ts-mode
:hook (haskell-ts-mode . my/eglot-if-trusted)
:custom
(haskell-ts-use-indent t))
;; c-ts-mode
(setopt ff-ignore-include t)
(defun my/find-other-file (&optional in-other-window event)