Wednesday, September 25, 2013

Re: outlook.vim sets textwidth=76 when starting gvim

On Wednesday, September 25, 2013 5:16:07 AM UTC-5, Calon wrote:
> From line 63 to 68 in outlook.vim, you can find text width option there:
>
> " textwidth  - automatically wrap at a column
> if exists('g:outlook_textwidth')
>     let &textwidth = g:outlook_textwidth
>
>
> else
>     let &textwidth = 76
> endif
>

It looks like this might be a plugin bug:

Assuming outlook.vim is meant to be specific to a buffer, this should be &l:textwidth instead of &textwidth, to set only the buffer-local copy of textwidth.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment