xref: /aosp_15_r20/external/llvm/utils/emacs/README (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker-*- llvm/utils/emacs/README -*-
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard WorkerThese are syntax highlighting files for the Emacs and XEmacs editors. Included
4*9880d681SAndroid Build Coastguard Workerare:
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker* llvm-mode.el
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker  Syntax highlighting mode for LLVM assembly files. To use, add this code to
9*9880d681SAndroid Build Coastguard Worker  your ~/.emacs :
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker  (setq load-path
12*9880d681SAndroid Build Coastguard Worker    (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
13*9880d681SAndroid Build Coastguard Worker  (require 'llvm-mode)
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard Worker* tablegen-mode.el
16*9880d681SAndroid Build Coastguard Worker
17*9880d681SAndroid Build Coastguard Worker  Syntax highlighting mode for TableGen description files. To use, add this code
18*9880d681SAndroid Build Coastguard Worker  to your ~/.emacs:
19*9880d681SAndroid Build Coastguard Worker
20*9880d681SAndroid Build Coastguard Worker  (setq load-path
21*9880d681SAndroid Build Coastguard Worker    (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
22*9880d681SAndroid Build Coastguard Worker  (require 'tablegen-mode)
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard WorkerNote: If you notice missing or incorrect syntax highlighting, please contact
26*9880d681SAndroid Build Coastguard Worker<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
27*9880d681SAndroid Build Coastguard Workerfunctionality, it will be most appreciated. Thank you.
28