mirror of https://github.com/Chizi123/.emacs.d.git

Joel Grunbaum
2022-01-12 4c7de90983f2a7be726d3a2919d5aefa4aef0065
Added tree sitter parser library
1 files modified
12 ■■■■■ changed files
config.org 12 ●●●●● patch | view | raw | blame | history
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