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 |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/config.org b/config.org
index 256d756..dbb6a3d 100644
--- a/config.org
+++ b/config.org
@@ -168,8 +168,7 @@
 ** Helm core
 Helm aids the user interface for emacs. Adds visual and auto-complete feedback for emacs commands.
 #+BEGIN_SRC emacs-lisp
-  (use-package helm-config
-    :ensure helm
+  (use-package helm
     :bind (("M-x" . helm-M-x)
            ("C-x C-f" . helm-find-files)
            ("M-y" . helm-show-kill-ring)
@@ -962,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