Jack Frankland e4708260c7
[vim] Improve iskeyword for MLIR (#121750)
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>
2025-01-15 10:01:36 +00:00
..

-*- 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`.