tree sitter
This commit is contained in:
parent
ab52535dc1
commit
058648403c
1 changed files with 12 additions and 12 deletions
|
@ -295,18 +295,17 @@
|
||||||
(setq dashboard-banner-logo-title "Welcome to Emacs Dashboard")
|
(setq dashboard-banner-logo-title "Welcome to Emacs Dashboard")
|
||||||
(setq dashboard-center-content t))
|
(setq dashboard-center-content t))
|
||||||
|
|
||||||
(if (not (string-match "^aarch64-.*" system-configuration))
|
;; Tree Sitter
|
||||||
(progn
|
(use-package tree-sitter
|
||||||
;; Tree-sitter
|
:straight (tree-sitter :type git :host github :repo "emacs-tree-sitter/emacs-tree-sitter")
|
||||||
(use-package tree-sitter
|
:config
|
||||||
:config
|
(global-tree-sitter-mode)
|
||||||
(global-tree-sitter-mode)
|
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
||||||
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
|
||||||
|
|
||||||
;; Tree-sitter-langs
|
;; Tree-sitter-langs
|
||||||
(use-package tree-sitter-langs
|
(use-package tree-sitter-langs
|
||||||
:after (tree-sitter)))
|
:straight (tree-sitter-langs :type git :host github :repo "emacs-tree-sitter/tree-sitter-langs")
|
||||||
())
|
:after (tree-sitter))
|
||||||
|
|
||||||
;; Org Mode
|
;; Org Mode
|
||||||
(use-package org
|
(use-package org
|
||||||
|
@ -360,7 +359,8 @@
|
||||||
(add-hook 'markdown-mode-hook 'toc-org-mode))
|
(add-hook 'markdown-mode-hook 'toc-org-mode))
|
||||||
|
|
||||||
(use-package ox-pandoc
|
(use-package ox-pandoc
|
||||||
:after (org))
|
:after (org)
|
||||||
|
:if (executable-find "pandoc"))
|
||||||
|
|
||||||
(use-package ox-jira
|
(use-package ox-jira
|
||||||
:after (org))
|
:after (org))
|
||||||
|
|
Loading…
Add table
Reference in a new issue