forked from OSchip/llvm-project
Summary: D71407 and D71474 added new keywords to the Tablegen language: `defvar`, `if`, `then` and `else`. This commit updates the various editor modes to highlight them appropriately. Some of the modes also didn't include `defset`, so I've added that too while I was there. Reviewers: MaskRay, lebedev.ri, plotfi Reviewed By: lebedev.ri Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72693 |
||
|---|---|---|
| .. | ||
| README | ||
| emacs.el | ||
| llvm-mode.el | ||
| tablegen-mode.el | ||
README
-*- llvm/utils/emacs/README -*-
These are syntax highlighting files for the Emacs and XEmacs editors. Included
are:
* llvm-mode.el
Syntax highlighting mode for LLVM assembly files. To use, add this code to
your ~/.emacs :
(setq load-path
(cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
(require 'llvm-mode)
* tablegen-mode.el
Syntax highlighting mode for TableGen description files. To use, add this code
to your ~/.emacs:
(setq load-path
(cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
(require 'tablegen-mode)
Note: If you notice missing or incorrect syntax highlighting, please contact
<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
functionality, it will be most appreciated. Thank you.