Pārlūkot izejas kodu

Syntax highlight TODO, FIXEME, BUG and XXX

master
Josh Wolfe pirms 3 gadiem
vecāks
revīzija
270fddd15b
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  1. 9
    0
      emacs/.emacs.d/README.org

+ 9
- 0
emacs/.emacs.d/README.org Parādīt failu

@@ -436,6 +436,15 @@ them and maps them to all the modes in [[Highlight Escapes Modes][=wolfe/highlig
wolfe/highlight-escapes-mode-list)
#+END_SRC

*** Highlight Todo, Fixme & Bug

#+BEGIN_SRC emacs-lisp :tangle yes
(add-hook 'prog-mode-hook
(lambda ()
(font-lock-add-keywords nil
'(("\\<\\(FIXME\\|TODO\\|BUG\\|XXX\\):" 1 font-lock-warning-face t)))))
#+END_SRC

** Personal Defaults

Nothing to crazy here just the type of behaviour I personally

Notiek ielāde…
Atcelt
Saglabāt