mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 14:36:07 +00:00

Define keywords for the MLIR syntax. This allows better recognition of semantic constructs such as SSA value identification e.g. `%foo` which gives improved motion handling when using 'word based' such as `w, e`. This is based on the work done for the LLVM IR in 8c46413f343d0a5b8db48d958890b9038f03b70d. Signed-off-by: Jack Frankland <jack.frankland@arm.com>
-*- mlir/utils/vim/README -*- This directory contains settings for the vim editor to work on MLIR *.mlir files. It comes with filetype detection rules in the (ftdetect), syntax highlighting (syntax), some minimal sensible default settings (ftplugin) and indentation plugins (indent). To install, copy all subdirectories to your $HOME/.vim/, or if you prefer, create symlinks to the files here. To enable highlighting inside the Markdown docs, one can add ``` let g:markdown_fenced_languages = ['mlir'] ``` to `.vimrc`.