Marc Weber wrote:
> > 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.
Settings in ftplugin and compiler plugins should be what nearly all
users will want. It should not be a personal preference.
E.g., if Cobol or Fortran dictate that lines must be shorter than 75
columns, then 'textwidth' can be set for those languages. For most
other languages it's a personal preference and the value could be 80,
100 or zero. So don't set it then.
--
GUARD #2: Wait a minute -- supposing two swallows carried it together?
GUARD #1: No, they'd have to have it on a line.
GUARD #2: Well, simple! They'd just use a standard creeper!
GUARD #1: What, held under the dorsal guiding feathers?
GUARD #2: Well, why not?
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.