mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 09:49:48 +00:00
e3ed63e83a
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 |
||
---|---|---|
.. | ||
emacs.el | ||
llvm-mode.el | ||
README | ||
tablegen-mode.el |
-*- 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.