[all-commits] [llvm/llvm-project] b08ede: [MLIR] Fix MLIR vim syntax file
Sergei Grechanik via All-commits
all-commits at lists.llvm.org
Mon Apr 4 09:23:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b08ede4374dbb6587dc5264a3352cb8463f4691c
https://github.com/llvm/llvm-project/commit/b08ede4374dbb6587dc5264a3352cb8463f4691c
Author: Sergei Grechanik <sergei.grechanik at intel.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M mlir/utils/vim/syntax/mlir.vim
Log Message:
-----------
[MLIR] Fix MLIR vim syntax file
This commit fixes several things in the MLIR vim syntax file:
- Spell checking is now on by default only in comments.
- '#' now starts an identifier instead of starting an outline attribute
declaration, which fixes coloring the rest of the line as a
preprocessor directive when there is a '#' in the middle.
- '!' and '^' -prefixed identifiers are now colored as types
and labels.
Reviewed By: bondhugula
Differential Revision: https://reviews.llvm.org/D122626
More information about the All-commits
mailing list