emacs: add treesitter support
This commit is contained in:
parent
abca633fc6
commit
b5e00af8ec
2 changed files with 8 additions and 2 deletions
|
@ -10,9 +10,15 @@
|
|||
(add-to-list 'default-frame-alist
|
||||
'(font . "Go Mono Nerd Font-12"))
|
||||
|
||||
;; Temporary theme. Replace later.
|
||||
(use-package darktooth-theme
|
||||
:ensure t
|
||||
:config
|
||||
(load-theme 'darktooth-dark t)
|
||||
(set-face-background 'hl-line "#262626")) ;; darktooth-background-0
|
||||
|
||||
(use-package tree-sitter :ensure t)
|
||||
(use-package tree-sitter-langs :ensure t)
|
||||
(setq treesit-extra-load-path
|
||||
(file-expand-wildcards (concat package-user-dir "/tree-sitter-langs*/bin")))
|
||||
|
||||
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
|
||||
(load (expand-file-name "./appearance.el" conf-home))
|
||||
(load (expand-file-name "./annoyances.el" conf-home))
|
||||
|
|
Loading…
Add table
Reference in a new issue