Commit: runtime(iar): Add iar compiler plugin
Christian Brabandt <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <[email protected]> |
runtime(iar): Add iar compiler plugin Commit: https://github.com/vim/vim/commit/e298a5735310bfa976bc0f10fae358f1d07408fd Author: Andrey Starodoubtsev <[email protected]> Date: Fri Jul 24 20:00:13 2026 +0000 runtime(iar): Add iar compiler plugin closes: https://github.com/vim/vim/issues/20830 Signed-off-by: Andrey Starodoubtsev <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/compiler/iar.vim b/runtime/compiler/iar.vim new file mode 100644 index 000000000..cd479b103 --- /dev/null +++ b/runtime/compiler/iar.vim @@ -0,0 +1,32 @@ +" Vim compiler file +" Compiler: IAR Systems C/C++ Compiler + +if exists("current_compiler") + finish +endif +let current_compiler = "iar" + +let s:cpo_save = &cpo +set cpo&vim + +" abc; +" ^ +" "/tmp/test.c",3 Error[Pe077]: this +" declaration has no storage class or type specifier + +" Error[Li005]: no definition for "Foo::Foo(unsigned shor +" t, unsigned short, unsigned int, char const *)" +" [referenced from Bar.o(libBar.a)] + +CompilerSet errorformat= + \%A\ \ %p^, + \%C\"%f\"\\,%l\ \ Remark[%*[^]]]:\ %m, + \%C\"%f\"\\,%l\ \ %tarning[%*[^]]]:\ %m, + \%C\"%f\"\\,%l\ \ %trror[%*[^]]]:\ %m, + \%C\"%f\"\\,%l\ \ Fatal\ %trror[%*[^]]]:\ %m, + \%EInternal\ error:\ %m, + \%EError[%*[^]]]:\ %m, + \%C%\s%\+%m, + +let &cpo = s:cpo_save +unlet s:cpo_save -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wnMIS-00C60B-54%40256bit.org.