llvm-project/mlir/utils/vim
Jacques Pienaar 08fe33e266 [mlir][vim] Add comment for markdown highlighting
Useful for local editing.
2021-12-20 08:35:22 -08:00
..
ftdetect
ftplugin
indent
syntax [MLIR][Math] Add erf to math dialect 2021-10-25 18:30:17 +00:00
README [mlir][vim] Add comment for markdown highlighting 2021-12-20 08:35:22 -08:00

README

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