Fix hl-todo keyword. Set yaml-indent to 2 spaces

This commit is contained in:
exu 2024-10-11 09:50:08 +02:00
parent e24ef3c07e
commit 1c5fcf5552

View File

@ -65,14 +65,15 @@
;;(require 'magit-gitflow) ;;(require 'magit-gitflow)
;;(add-hook 'magit-mode-hook 'turn-on-magit-gitflow) ;;(add-hook 'magit-mode-hook 'turn-on-magit-gitflow)
(setq hl-todo-keyword-faces (after! hl-todo
'(("TODO" . "#EACD4B") (setq hl-todo-keyword-faces
("FIXME" . "#F43633") '(("TODO" . "#EACD4B")
("NOTE" . "#8ED34E") ("FIXME" . "#F43633")
("DEPRECATED" . "#7F7F7F") ("NOTE" . "#8ED34E")
("HACK" . "#7D5587") ("DEPRECATED" . "#7F7F7F")
("REVIEW" . "#3DADC6") ("HACK" . "#7D5587")
("OHGODTHEHORROR" . "#FC7702"))) ("REVIEW" . "#3DADC6")
("OHGODTHEHORROR" . "#FC7702"))))
;; Less delay for company to show up ;; Less delay for company to show up
(setq company-idle-delay 0) (setq company-idle-delay 0)
@ -131,3 +132,6 @@
"k" 'comment-or-uncomment-region "k" 'comment-or-uncomment-region
:desc "Sort lines" :desc "Sort lines"
"s" 'sort-lines)) "s" 'sort-lines))
(after! yaml-mode
(setq yaml-indent 2))