llvm-project/mlir/utils/vim
Cullen Rhodes 6ad6b00f6a [mlir] vim: add bf16 type 2022-05-17 13:28:31 +00:00
..
ftdetect
ftplugin
indent
syntax [mlir] vim: add bf16 type 2022-05-17 13:28:31 +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`.