Update .emacs.d/config.org
This commit is contained in:
parent
f030c7a8d7
commit
8aa2354663
1 changed files with 6 additions and 9 deletions
|
@ -219,6 +219,12 @@ This allows to tangle automatically when saving the config. This is mostly for c
|
|||
(add-hook 'after-save-hook #'my/reload-config-on-save))
|
||||
#+end_src
|
||||
|
||||
*** Discord presence
|
||||
#+begin_src emacs-lisp
|
||||
(use-package elcord
|
||||
:config
|
||||
(elcord-mode))
|
||||
#+end_src
|
||||
** Org mode
|
||||
*** Pretty bullets and headlines
|
||||
I use org-superstar-mode, as it makes headlines and bullets look really nice.
|
||||
|
@ -287,14 +293,6 @@ Magit is a git client in Emacs.
|
|||
(setq rust-format-on-save t))
|
||||
#+end_src
|
||||
|
||||
**** Typst
|
||||
#+begin_src emacs-lisp
|
||||
(use-package typst-ts-mode
|
||||
:quelpa (typst-ts-mode :fetcher git :url "https://git.sr.ht/~meow_king/typst-ts-mode" :files ("*.el"))
|
||||
:custom
|
||||
(typst-ts-mode-grammar-location (expand-file-name "tree-sitter/libtree-sitter-typst.so" user-emacs-directory)))
|
||||
#+end_src
|
||||
|
||||
**** tree-sitter
|
||||
#+begin_src emacs-lisp
|
||||
(setq treesit-language-source-alist
|
||||
|
@ -312,7 +310,6 @@ Magit is a git client in Emacs.
|
|||
(toml "https://github.com/tree-sitter/tree-sitter-toml")
|
||||
(tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src")
|
||||
(typescript "https://github.com/tree-sitter/tree-sitter-typescript" "master" "typescript/src")
|
||||
(typst "https://github.com/uben0/tree-sitter-typst")
|
||||
(yaml "https://github.com/ikatyang/tree-sitter-yaml")))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.ts\\'" . tsx-ts-mode))
|
||||
|
|
Loading…
Reference in a new issue