Mercurial > vim
view runtime/compiler/icon.vim @ 34264:cce6b834635c v9.1.0071
patch 9.1.0071: Need a diff() Vim script function
Commit: https://github.com/vim/vim/commit/fa37835b8c0ed0f83952978fca4c332335ca7c46
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu Feb 1 22:05:27 2024 +0100
patch 9.1.0071: Need a diff() Vim script function
Problem: Need a diff() Vim script function
Solution: Add the diff() Vim script function using the
xdiff internal diff library, add support for
"unified" and "indices" mode.
(Yegappan Lakshmanan)
fixes: #4241
closes: #12321
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 01 Feb 2024 22:30:03 +0100 |
parents | 1e9e9d89f0ee |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Icon Compiler " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2022 Jun 16 if exists("current_compiler") finish endif let current_compiler = "icont" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=icont\ -s CompilerSet errorformat=%-G%\\d%\\+\ errors%\\=, \%ERun-time\ error\ %n, \%ERun-time\ error\ %n\ in\ %m, \%ZTraceback:, \%+Coffending\ value:\ %.%#, \%CFile\ %f;\ Line\ %l, \%EFile\ %f;\ Line\ %l\ #\ %m, \%EFile\ %f;\ %m, \%E%f:%l:\ #\ %m, \%E%f:\ %m, \%+C%.%#, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save