mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(text-editing/treesit): ensure treesit and related packages are loaded correctly
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(condition-case nil
|
||||
(require 'treesit)
|
||||
(error nil)) ; Do nothing if treesit is not available.
|
||||
|
||||
(when (fboundp 'treesit-ready-p)
|
||||
(require 'treesit)
|
||||
(setopt treesit-font-lock-level 4)
|
||||
|
||||
(defun siren-treesit-prepare (mode source)
|
||||
|
||||
Reference in New Issue
Block a user