Fix the MLIR Vim syntax file: the keyword group was missing
authorchelxom <chelxom@outlook.com>
Fri, 20 Dec 2019 15:02:11 +0000 (23:02 +0800)
committerMehdi Amini <aminim@google.com>
Thu, 26 Dec 2019 04:50:38 +0000 (04:50 +0000)
mlir/utils/vim/syntax/mlir.vim

index 8d0106a..c49af6a 100644 (file)
@@ -33,9 +33,9 @@ syn match mlirType /x\s*\zsvector/
 " TODO: the list is not exhaustive.
 syn keyword mlirOps alloc alloca addf addi call call_indirect cmpi constant
 syn keyword mlirOps dealloc divf dma_start dma_wait dim extract_element
-syn keyword getTensor index_cast load memref_cast memref_shape_cast mulf muli
-syn keyword prefetch sitofp splat store select subf subi subview tensor_cast
-syn keyword view
+syn keyword mlirOps getTensor index_cast load memref_cast memref_shape_cast
+syn keyword mlirOps mulf muli prefetch sitofp splat store select subf subi
+syn keyword mlirOps subview tensor_cast view
 
 " Affine ops.
 syn match mlirOps /\<affine\.apply\>/