Re: Trailing whitespace left at end of comment lines that wrap in the PHP filetype

2013-09-17 Fir de Conversatie Adnan Zafar
On Tue, Sep 17, 2013 at 12:24 AM, Duncan de Wet duncande...@gmail.com wrote: On Monday, 16 September 2013 21:47:32 UTC+12, ZyX wrote: This is controlled by formatoptions settings, see :h fo-table. Set 'list' with 'listchars' containing 'trail:-' to make them easy to spot. I already have

[BUG] re=1 and re=2 differ with branches

2013-09-17 Fir de Conversatie Axel Bender
The following search command with branches works differently depending on which RE engine is chosen: ^\C[a-z]\+\ze \\(\.exe\)\@! With re=1 the whole first word is selected. With re=2 only the first letter of the first word is selected. Test case included. -- -- You received this message

text wrapping regression?

2013-09-17 Fir de Conversatie Matthew Woehlke
I just discovered that text wrapping has changed at least between vim-enhanced-7.3.1314-2.fc18.x86_64 and vim-enhanced-7.4.016-1.fc18.x86_64 (so probably between 7.3.x and 7.4.0). It used to be the case that if I typed some text that was almost long enough to wrap, then went to the beginning

Re: text wrapping regression?

2013-09-17 Fir de Conversatie Ben Fritz
On Tuesday, September 17, 2013 12:17:57 PM UTC-5, Matthew Woehlke wrote: I just discovered that text wrapping has changed at least between vim-enhanced-7.3.1314-2.fc18.x86_64 and vim-enhanced-7.4.016-1.fc18.x86_64 (so probably between 7.3.x and 7.4.0). It used to be the case that

Re: text wrapping regression?

2013-09-17 Fir de Conversatie Matthew Woehlke
On 2013-09-17 15:59, Ben Fritz wrote: On Tuesday, September 17, 2013 12:17:57 PM UTC-5, Matthew Woehlke wrote: I just discovered that text wrapping has changed at least between vim-enhanced-7.3.1314-2.fc18.x86_64 and vim-enhanced-7.4.016-1.fc18.x86_64 (so probably between 7.3.x and 7.4.0). It

Performance issues: region vs match for syntax folding

2013-09-17 Fir de Conversatie Carlos Pita
Hi all, I'm writing a syntax plugin for multimarkdown which is expected to support folding with foldmethod=syntax. In (multi)markdown there is the notion of a multiparagraph list item that has a pretty simple grammar: starting a new paragraph with a first line that is at least 1-tab or 4-space

[patch] sets PEP8 indenting suggestions as default in python files

2013-09-17 Fir de Conversatie Lorenzo Bercelli
This patch sets tabs as equal to 4 spaces in python files, as strongly suggested by the PEP8 ( http://www.python.org/dev/peps/pep-0008/#indentation ) . T his are probably some of the most often found options in .vimrc files, it's also the first thing suggested in all those 'create a python

Re: Trailing whitespace left at end of comment lines that wrap in the PHP filetype

2013-09-17 Fir de Conversatie Duncan de Wet
On 17 Sep 2013 21:21, Adnan Zafar adnanjza...@gmail.com wrote: On Tue, Sep 17, 2013 at 12:24 AM, Duncan de Wet duncande...@gmail.com wrote: On Monday, 16 September 2013 21:47:32 UTC+12, ZyX wrote: This is controlled by formatoptions settings, see :h fo-table. Set 'list' with 'listchars'

Re: [BUG] re=1 and re=2 differ with branches

2013-09-17 Fir de Conversatie Bram Moolenaar
Axel Bender wrote: The following search command with branches works differently depending on which RE engine is chosen: ^\C[a-z]\+\ze \\(\.exe\)\@! With re=1 the whole first word is selected. With re=2 only the first letter of the first word is selected. Test case included. What

Re: [patch] sets PEP8 indenting suggestions as default in python files

2013-09-17 Fir de Conversatie Lorenzo Bercelli
Oh God sorry I forgot to attach the patch, here it is. Lorenzo On Tue, Sep 17, 2013 at 9:30 PM, Lorenzo Bercelli l...@bercio.com wrote: This patch sets tabs as equal to 4 spaces in python files, as strongly suggested by the PEP8 ( http://www.python.org/dev/peps/pep-0008/#indentation

Re: [BUG] re=1 and re=2 differ with branches

2013-09-17 Fir de Conversatie Zulox4
Hello! I test using the files attached in Vim 7.4.27 searching in the buffer content: klocks (1.0, 20130715) Command Line Lock Keys 1. For the command: :set hlsearch regexpengine=1 /^\C[a-z]\+\ze \\(\.exe\)\@! the first word is selected. 2. For the command :set hlsearch

Re: Trailing whitespace left at end of comment lines that wrap in the PHP filetype

2013-09-17 Fir de Conversatie Duncan de Wet
On Wed, Sep 18, 2013 at 07:56:55AM +1200, Duncan de Wet wrote: On 17 Sep 2013 21:21, Adnan Zafar adnanjza...@gmail.com wrote: On Tue, Sep 17, 2013 at 12:24 AM, Duncan de Wet duncande...@gmail.com wrote: On Monday, 16 September 2013 21:47:32 UTC+12, ZyX wrote: This is controlled by

[BUG] Groovy regexp syntax highlighting in Vim 7.4

2013-09-17 Fir de Conversatie rdolgushin
For details see http://stackoverflow.com/questions/18855809/groovy-syntax-highlighting-in-vim-7-4 Possible sollution: delete or comment this line https://code.google.com/p/vim/source/browse/runtime/syntax/groovy.vim?r=22fa3049e9348a8ce556a3e5ba65c6f0a7aa6b4a#260 -- -- You received this

Re: text wrapping regression?

2013-09-17 Fir de Conversatie Ben Fritz
On Tuesday, September 17, 2013 3:14:01 PM UTC-5, Matthew Woehlke wrote: Still, I'm not sure fo+=l is working correctly. The documentation says When a line was longer than 'textwidth' when the insert command started, Vim does not automatically format it. But I am seeing this even