From 4c7de90983f2a7be726d3a2919d5aefa4aef0065 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 12 Jan 2022 11:44:42 +0000 Subject: [PATCH] Added tree sitter parser library --- config.org | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/config.org b/config.org index 710669c..dbb6a3d 100644 --- a/config.org +++ b/config.org @@ -961,6 +961,18 @@ ("M-RET" . 'srefactor-refactor-at-point))) #+END_SRC +** Tree sitter +Parser library. +Provides better syntax highlighting and some other neat features. +#+BEGIN_SRC emacs-lisp + (use-package tree-sitter + :diminish t) + (use-package tree-sitter-langs + :config + (global-tree-sitter-mode) + (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)) +#+END_SRC + ** Language specific configs *** C/C++ **** Flycheck -- Gitblit v1.9.3