[Mlir-commits] [mlir] 08fe33e - [mlir][vim] Add comment for markdown highlighting

Jacques Pienaar llvmlistbot at llvm.org
Mon Dec 20 08:35:50 PST 2021


Author: Jacques Pienaar
Date: 2021-12-20T08:35:22-08:00
New Revision: 08fe33e266b63105bffb6a606ce8bbf9c6e162cf

URL: https://github.com/llvm/llvm-project/commit/08fe33e266b63105bffb6a606ce8bbf9c6e162cf
DIFF: https://github.com/llvm/llvm-project/commit/08fe33e266b63105bffb6a606ce8bbf9c6e162cf.diff

LOG: [mlir][vim] Add comment for markdown highlighting

Useful for local editing.

Added: 
    

Modified: 
    mlir/utils/vim/README

Removed: 
    


################################################################################
diff  --git a/mlir/utils/vim/README b/mlir/utils/vim/README
index d9a1f7f3da52f..78cefde4c90dd 100644
--- a/mlir/utils/vim/README
+++ b/mlir/utils/vim/README
@@ -7,3 +7,11 @@ 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`.


        


More information about the Mlir-commits mailing list