mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
b0af89cbda
Previously `M-x mark-defun` and friends wouldn't work properly, and would highlight something at the top of the buffer. This adds a regexp for top-level functions so the defun functions should work as expected, and also adds a regexp for extracting their name so which-function-mode should work now too. Reviewed By: goldstein.w.n Differential Revision: https://reviews.llvm.org/D158196 |
||
---|---|---|
.. | ||
emacs.el | ||
llvm-mir-mode.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) * llvm-mir-mode.el Syntax highlighting mode for LLVM Machine IR 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-mir-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.