Another bug with rnu and showbreak

2015-03-06 Fir de Conversatie Nazri Ramliy
Hi, :ver VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 7 2015 10:48:00) Included patches: 1-657 Here's a reproducible steps (it assumes that the environment variables $LINES and $COLUMNS are set to the rows and columns of your terminal): $ { echo -na = ; for i in `seq 1 $LINES`; do for

Re: colorcolumn and foldtext

2015-03-06 Fir de Conversatie Carlos Pita
Hi Bram, The idea of 'colorcolumn' is that it applies to the text. So you can align items or make sure they are in a certain column. I don't see how that is useful in a folded region. I would think it makes the closed fold look odd. I have the idea that the closed fold is above the text

lazyredraw while scrolling

2015-03-06 Fir de Conversatie Carlos Pita
Hi all, a cursory google search shows many posts about cursorline and relativenumber turning vim slower. In an old low-end netbook I'm using right now this is all too evident. Say I keep j pressed for a while while editing my (relatively small) .vimrc. As I understand the issue, cursorline and

Re: colorcolumn and foldtext

2015-03-06 Fir de Conversatie Carlos Pita
Maybe the solution is not to force filling the fold line all the way to the right margin but to make it the length of the string foldtext() returned. Something like an empty fillchar (which is currently impossible AFAIK) would do the trick while still allowing for the current behaviour in a

Re: can't edit ~/.alias - segmentation fault

2015-03-06 Fir de Conversatie Nikolay Pavlov
2015-03-04 10:29 GMT+03:00 Ran Regev regev@gmail.com: # alias eali alias eali='vim ~/.alias' Can you replace Vim with echo and show what is `~/.alias` expanded to actually? # eali Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped) # gdb /usr/bin/vim core

Re: Patch 7.4.654

2015-03-06 Fir de Conversatie Bram Moolenaar
I wrote: Manuel Ortega wrote: On Thu, Mar 5, 2015 at 1:35 PM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.4.654 Problem:glob() and globpath() cannot include links to non-existing files. (Charles Campbell) Solution: Add an argument to include all

broken sytanx of vim.vim

2015-03-06 Fir de Conversatie mattn
let g:foo = 1 The SynID of foo is not vimVar. Currently, it's vimIsCommand. IFAIK, it was vimVar in few month ago. I'm thinking vimIsCommand is too generally pattern. syn match vimIsCommand \\h\w*\ contains=vimCommand syn match vimVar\[bwglsav]:\K\k*\ syn match vimVar

netbeans adds a sign column to all windows even when there are no signs

2015-03-06 Fir de Conversatie Xavier de Gaye
This unused two characters-wide sign column wastes space, take for example a screen that is vertically splitted to show multiple buffers. The attached patch fixes this. For reference, a link to the pyclewn issue tracker that raised the issue: https://bitbucket.org/xdegaye/pyclewn/issue/7 Patch

Re: broken sytanx of vim.vim

2015-03-06 Fir de Conversatie Charles Campbell
mattn wrote: let g:foo = 1 The SynID of foo is not vimVar. Currently, it's vimIsCommand. IFAIK, it was vimVar in few month ago. I'm thinking vimIsCommand is too generally pattern. syn match vimIsCommand\\h\w*\ contains=vimCommand syn match vimVar \[bwglsav]:\K\k*\

Re: broken sytanx of vim.vim

2015-03-06 Fir de Conversatie Charles Campbell
Charles Campbell wrote: mattn wrote: let g:foo = 1 The SynID of foo is not vimVar. Currently, it's vimIsCommand. IFAIK, it was vimVar in few month ago. I'm thinking vimIsCommand is too generally pattern. syn match vimIsCommand \\h\w*\ contains=vimCommand syn match vimVar

Re: Patch 7.4.656

2015-03-06 Fir de Conversatie John Marriott
I get these warnings when compiling on HP-UX: cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/misc1.o misc1.c cc: misc1.c, line 10178: warning 604: Pointers are not assignment-compatible. cc: misc1.c, line 10178: warning 563: Argument #1 is not the correct type. cc: misc1.c, line 10940:

Re: Patch 7.4.656

2015-03-06 Fir de Conversatie Bram Moolenaar
John Marriott wrote: I get these warnings when compiling on HP-UX: cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/misc1.o misc1.c cc: misc1.c, line 10178: warning 604: Pointers are not assignment-compatible. cc: misc1.c, line 10178: warning 563: Argument #1 is not the correct type.

Patch 7.4.657

2015-03-06 Fir de Conversatie Bram Moolenaar
Patch 7.4.657 (after 7.4.656) Problem:Compiler warnings for pointer mismatch. Solution: Add a typecast. (John Marriott) Files: src/misc1.c *** ../vim-7.4.656/src/misc1.c 2015-03-05 21:21:14.497360702 +0100 --- src/misc1.c 2015-03-06 21:34:00.343452890 +0100 *** ***

Re: colorcolumn and foldtext

2015-03-06 Fir de Conversatie Christian Brabandt
Bram, On Fr, 06 Mär 2015, Christian Brabandt wrote: On Do, 05 Mär 2015, Carlos Pita wrote: Hi all, is there any way to force the color column to show above a fold header? I tried: highlight Folded cterm=none ctermbg=none and highlight clear Folded to no avail.

Re: :g//d_ and the clipboard

2015-03-06 Fir de Conversatie Jan Larres
Christian Brabandt cbli...@256bit.org: Hi Jan! Now if I want to do that in a :global command I can just do this: g/foo/d _ However, this command is not quite as accomodating. It doesn't change the unnamed register, but it does change the clipboard. It seems to clear it, in fact. This

Re: colorcolumn and foldtext

2015-03-06 Fir de Conversatie Bram Moolenaar
Christian wrote: Bram, On Fr, 06 Mär 2015, Christian Brabandt wrote: On Do, 05 Mär 2015, Carlos Pita wrote: Hi all, is there any way to force the color column to show above a fold header? I tried: highlight Folded cterm=none ctermbg=none and