<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/utils/vim/syntax/mir.vim, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[vim] Fix command already exists on opening multiple mir buffers (#82410)</title>
<updated>2024-02-28T21:37:39+00:00</updated>
<author>
<name>Joe Nash</name>
<email>Sisyph@users.noreply.github.com</email>
</author>
<published>2024-02-28T21:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=caca8d33a9d5e6fe75980c4ae1cb13de2e460590'/>
<id>caca8d33a9d5e6fe75980c4ae1cb13de2e460590</id>
<content type='text'>
When using the vim syntax for mir, an error occurs in nvim  when opening
multiple .mir buffers. delcommand HiLink in the mir syntax file to avoid
the issue.

To reproduce:
Open an .mir file, for example
llvm/test/Codegen/X86/expand-post-ra-pseudo.mir
Open another mir file from within nvim, for example peephole.mir
```
Error detected while processing function 335[30]..&lt;SNR&gt;43_callback[25]..function 335[30]..&lt;SNR&gt;43_callback:                                                                                                                      
line   23:                                                                                                                                                                                                                       
Vim(command):E174: Command already exists: add ! to replace it: HiLink hi def link &lt;args&gt;   
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the vim syntax for mir, an error occurs in nvim  when opening
multiple .mir buffers. delcommand HiLink in the mir syntax file to avoid
the issue.

To reproduce:
Open an .mir file, for example
llvm/test/Codegen/X86/expand-post-ra-pseudo.mir
Open another mir file from within nvim, for example peephole.mir
```
Error detected while processing function 335[30]..&lt;SNR&gt;43_callback[25]..function 335[30]..&lt;SNR&gt;43_callback:                                                                                                                      
line   23:                                                                                                                                                                                                                       
Vim(command):E174: Command already exists: add ! to replace it: HiLink hi def link &lt;args&gt;   
```</pre>
</div>
</content>
</entry>
<entry>
<title>[vim] Add initial syntax definition for .mir files</title>
<updated>2021-02-17T07:38:16+00:00</updated>
<author>
<name>Cassie Jones</name>
<email>code@witchoflight.com</email>
</author>
<published>2021-02-17T07:38:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c6a96df3752065a9411e517942e2cd928e7af82e'/>
<id>c6a96df3752065a9411e517942e2cd928e7af82e</id>
<content type='text'>
This initial definition handles the yaml container and the embedding of
the inner IRs. As a stopgap, this reuses the LLVM IR syntax highlighting
for the MIR function bodies--even though it's not technically correct,
it produces decent highlighting for a first pass.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D95552
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This initial definition handles the yaml container and the embedding of
the inner IRs. As a stopgap, this reuses the LLVM IR syntax highlighting
for the MIR function bodies--even though it's not technically correct,
it produces decent highlighting for a first pass.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D95552
</pre>
</div>
</content>
</entry>
</feed>
