refactor(:lang): remove fboundp checks for *-ts-modes

The major-mode-remap advice will handle undefined modes, so all these
extra checks aren't needed.
This commit is contained in:
Henrik Lissner
2025-09-01 18:19:57 +02:00
parent 71f137c6b0
commit 84e8ae58d1
10 changed files with 5 additions and 10 deletions

View File

@@ -29,7 +29,6 @@
;; TODO: Mirror sml-mode keybinds to ts-mode
(use-package! sml-ts-mode
:when (modulep! +tree-sitter)
:when (fboundp 'treesit-available-p)
:defer t
:init
(set-tree-sitter! 'sml-mode 'sml-ts-mode