> I couldn't care less about the textwidth setting, which I always set
> to 0 for my code (I prefer manual wrapping if needed).
So this code is annoying two people (you and me).
So the patch should be extended to also not set textwidth ?

The right way to go is having project specific setups, eg
github.com/MarcWeber/vim-addon-local-vimrc
or per file settings (modeline).

> Maybe somebody with better knowledge of Vim-conventions can weigh in
> on where to move "efm".
$VIMRUNTIME/compiler/ocaml.vim (see patch)

You activate such a compiler by :compiler ocaml
then.

However you can also try github.com/MarcWeber/vim-addon-actions which
allows you to map a compilation action to a key. Before the compilation
action is run error format is always set.

Eg currently I use rake to compile an ocaml project. So I may have ruby
or ocaml errors in the output. vim-addon-errorformats allows me to do:

  :Errorformat ocaml_simple ruby

For those reasons I think the :compiler system of Vim is nice, but fails
for some use cases, too.

I'd like to split vimruntime, put it on github, and have people
contribute to it. Things would improve very fast then.
But that's another story.

Marc Weber

-- 
-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui