37 lines · plain
1-*- llvm/utils/emacs/README -*-2 3These are syntax highlighting files for the Emacs and XEmacs editors. Included4are:5 6* llvm-mode.el7 8 Syntax highlighting mode for LLVM assembly files. To use, add this code to9 your ~/.emacs :10 11 (setq load-path12 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))13 (require 'llvm-mode)14 15* llvm-mir-mode.el16 17 Syntax highlighting mode for LLVM Machine IR files. To use, add this code to18 your ~/.emacs :19 20 (setq load-path21 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))22 (require 'llvm-mir-mode)23 24* tablegen-mode.el25 26 Syntax highlighting mode for TableGen description files. To use, add this code27 to your ~/.emacs:28 29 (setq load-path30 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))31 (require 'tablegen-mode)32 33 34Note: If you notice missing or incorrect syntax highlighting, please contact35<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the36functionality, it will be most appreciated. Thank you.37