adding tree-sitter and mastodon
This commit is contained in:
parent
16b82d6fbc
commit
ff9a02b6c9
2 changed files with 52 additions and 3 deletions
25
init.el
25
init.el
|
@ -96,6 +96,9 @@
|
|||
|
||||
(eval-when-compile (require 'use-package))
|
||||
|
||||
(setq use-package-verbose t)
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
(use-package command-log-mode
|
||||
:commands command-log-mode)
|
||||
|
||||
|
@ -1348,6 +1351,12 @@ targets."
|
|||
(add-hook 'prog-mode-hook 'hl-line-mode)
|
||||
(add-hook 'prog-mode-hook 'hs-minor-mode)
|
||||
|
||||
(use-package tree-sitter
|
||||
:config
|
||||
(global-tree-sitter-mode +1)
|
||||
)
|
||||
(use-package tree-sitter-langs)
|
||||
|
||||
(add-hook 'c++-mode-hook 'eglot)
|
||||
|
||||
(use-package web-mode
|
||||
|
@ -2311,6 +2320,22 @@ interfere with the default `bongo-playlist-buffer'."
|
|||
(chris/leader-keys
|
||||
"oM" 'ement-list-rooms))
|
||||
|
||||
(use-package mastodon
|
||||
:config
|
||||
(setq mastodon-instance-url "https://mastodon.online"
|
||||
mastodon-active-user "chriscochrun")
|
||||
:general
|
||||
(chris/leader-keys
|
||||
"oF" 'mastodon)
|
||||
(general-def mastodon-mode-map
|
||||
"q" 'bury-buffer
|
||||
"p" 'mastodon-toot
|
||||
"r" 'mastodon-tl--update
|
||||
"b" 'mastodon-toot--toggle-boost
|
||||
"H" 'mastodon-tl--get-home-timeline
|
||||
"F" 'mastodon-tl--get-federated-timeline
|
||||
"N" 'mastodon-notifications--timeline))
|
||||
|
||||
(use-package langtool)
|
||||
|
||||
(use-package qrencode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue