To set 'guidecolumn' you can do
:set guidecolumn=N
where N is the column. If N is 0 then guidecolumn is turned off. It is
highly unlikely that a user would want the guidecolumn at column 0 but
the syntax seems odd so let me know if you think there can be a better
way to do this.

The patch still needs to be tested thorougly and tweaked but I wanted
to get a general idea, if you guys think it has chances of getting
accepted.

Thanks
_Lone


On Apr 14, 2:32 am, _Lone <[email protected]> wrote:
> Hi Everyone,
>
> This is my first patch for VIM so pardon me if I did not follow any
> instructions properly.
>
> This patch would allow you to create a vertical highlighted line at a
> specified column such as column 80. Very useful if you don't want your code
> to exceed 80 columns as followed by many projects (I think including VIM).
>
> The thread below is where I initially mentioned this and asked if it would
> be a good idea.
>
> http://groups.google.com/group/vim_use/browse_thread/thread/3ee72b0e7...
>
> Please let me know if there are any issues with the patch. I have tested it
> and it seems to work fine (with cursorcolumn as well). But as this is my
> first patch, please let me know if I missed something.
>
> The attached guidecolumn.patch.txt contains the patch in the format
> specified at the VIM WIKI and guidecolumn.patch is created using CVS patch
> feature in TortoiseCVS.
>
> Thanks
> _Lone
>
>  guidecolumn.patch.txt
> 13KViewDownload
>
>  guidecolumn.patch
> 11KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui