I'm using custom compiler file with Vim to build little test projects.
It has errorformat defined like this (just first line as a sample)
       setlocal errorformat ^=
               \%f:%l:%c:%*[0-9]:%*[0-9]:\ %*[[ 0-9;m]%tint%*[[ 0-9;m]:
\ %m,
and the problem is that on Linux with locale set to en_US.utf8 the
compiler puts BOM in its output. VIM reads it into %f and opens a new
buffer which is not comfortable.

I've found workaround putting "LANG=en_US" in CompilerSet makeprg line
before compiler call, but think it's rather ugly.

Is it possible to write errorformat line with optional BOM before %f ?
I'm using the same compiler settings on Windows and it would be great
to have portable config.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to