[PATCH] D156459: [vim] Clean up HiLink in .mir syntax
Daniel Woodworth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 10:29:17 PDT 2023
dwoodwor-intel created this revision.
dwoodwor-intel added a reviewer: porglezomp.
Herald added a project: All.
dwoodwor-intel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This change adds a missing 'delcommand HiLink'; without this line, vim
prints this error message whenever another IR/MIR file is opened after
opening an MIR file:
E174: Command already exists: add ! to replace it: HiLink hi def link <args>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156459
Files:
llvm/utils/vim/syntax/mir.vim
Index: llvm/utils/vim/syntax/mir.vim
===================================================================
--- llvm/utils/vim/syntax/mir.vim
+++ llvm/utils/vim/syntax/mir.vim
@@ -43,6 +43,8 @@
endif
HiLink mirSpecialComment SpecialComment
+
+ delcommand HiLink
endif
let b:current_syntax = "mir"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156459.544847.patch
Type: text/x-patch
Size: 307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230727/b8929e1c/attachment.bin>
More information about the llvm-commits
mailing list