diff options
author | Franck Cuny <franck@fcuny.net> | 2022-09-17 14:16:57 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-09-17 14:16:57 -0700 |
commit | 33d0664685ca8bd9fbb98515c15b004658b216df (patch) | |
tree | 6b2afc5a045a25cb12f26d2cb31a1029edf6b953 /emacs/custom/my-prog.el | |
parent | feat(lang/rust): configure Emacs for rust (diff) | |
download | emacs.d-33d0664685ca8bd9fbb98515c15b004658b216df.tar.gz |
ref(tree-sitter): move the configuration to its own file
Change-Id: I424e4d32e05d6bf21f6abb3cc68cad598af31708
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-prog.el | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el index c4865a5..578207c 100644 --- a/emacs/custom/my-prog.el +++ b/emacs/custom/my-prog.el @@ -3,16 +3,6 @@ ;;; Commentary: ;;; Code: - -(require 'tree-sitter) -(require 'tree-sitter-langs) -;; enable tree-sitter mode for all supported major modes -(global-tree-sitter-mode) -;; the minor mode tree-sitter-hl-mode provides the framework for syntax -;; highlighting. It overrides the regex-based highlighting provided by -;; font-lock-mode, using the syntax tree provided by tree-sitter-mode -(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) - (customize-set-variable 'Man-notify-method 'aggressive) (customize-set-variable 'Man-fontify-manpage-flag t) |