mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-04 15:03:42 -05:00
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:
@@ -57,7 +57,6 @@
|
||||
|
||||
(use-package! scala-ts-mode
|
||||
:when (modulep! +tree-sitter)
|
||||
:when (fboundp 'treesit-available-p)
|
||||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'scala-mode 'scala-ts-mode
|
||||
|
Reference in New Issue
Block a user