Edward L. Fox wrote:
On 5/10/07, Gautam Iyer <[EMAIL PROTECTED]> wrote:
[...]
> I've a question, though: isn't bleeding-edge development done in
> https://svn.sourceforge.net/svnroot/vim/trunk ? That /would/ be the
> appropriate line for the latest sources, right?
I don't know. I'm still ask
Nikolai Weibull wrote:
> On 4/24/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
>> Nikolai Weibull wrote:
>> > On 4/24/07, Ilya Sher <[EMAIL PROTECTED]> wrote:
>> [snip]
>> > I mean, seriously, it's a lot more intuitive to write
>> >
>&g
Yakov Lerner wrote:
> [snip]
> So do not worry, replacement of vimscript by the favourite language
> of some vim's random user is not going to happen.
That is obvious. The point was the question why the OP named
language X and not Y for this.
>
> Yakov
--
For robots (please don't mail me there):
Nikolai Weibull wrote:
> On 4/24/07, Ilya Sher <[EMAIL PROTECTED]> wrote:
>> Robert Lee wrote:
>> > [snip]
>>
>> > Counterwish #2: Dump VimScript and replace it with EMCAScript (maybe
>> > using SpiderMonkey) so that people don't need to learn
h to customize VIM. How
do you know the assumption is right?
[snip]
--
For robots (please don't mail me there): [EMAIL PROTECTED]
My real email is ilya @ same domain
;> implementation? It seems to be cutting off the last character in the
>> completion. ;-)
>>
>> nikolai
>>
>
> Insert-mode competion, you mean?
The missing last "i" of Nikolai ;)
[snip]
--
For robots (please don't mail me there): [EMAIL PROTECTED]
My real email is ilya @ same domain
Sam Halperin wrote:
I am trying to syntax highlight a file containing one very long line.
(A machine generated chunk of ascii that needs to be visually checked
when an error occurs.)
The highlighting works up to about a screens worth of text (~2400
char), but stops highlighting well before t
Rene de Zwart wrote:
I would like it if vim could integrate more into a graphical application
for instances an ide.
The integration would allow application builders to use vim as a component.
relief them of the burden of maintaining an editor
Give them access to 20+ years matured editor code ba
Gregory Seidman wrote:
I'm finding that smartindent is routinely wrong about how I want things to
be indented in JS, but I haven't been able to find an indent script. I'd be
interested in working on it myself, but I don't know the first thing about
how the function referred to when setting indent
David le Comte wrote:
This is my 2nd attempt, but with smaller sample vhdl file,
The mail handler rejected my last email due to
its being too large.
Problem Description:
When editing VHDL files, autoindent mode
does not behave as expected with comment lines.
I suggest that
John Beckett wrote:
[...]
Then, I could write an email to a friend saying
"Run gvim and do .
Then you can press F11 to do ".
For example, perhaps F11 = ":cn", Shift-F11 = ":cp".
[...]
This sounds very like file types. When you are opening a file
appropriate actions can be done automatically i
rds,
> Chip Campbell
>
--
For robots (please don't mail me there): [EMAIL PROTECTED]
My real email is ilya @ same domain
Ilia N Ternovich wrote:
Hi all!
I'm trying to make recent.vim plguin working with vim-7.0
There is some kind of problem with mapping keys inside plugin:
function! OptionFiles()
"let file = bufname("%")
if bufname("")=="recent_files"
map gf
set number
set noswapf
[EMAIL PROTECTED] wrote:
Hi All,
I couldn't open the file name start with "+" in vi editor. Since
"+" is the option in vi editor. Is there any other way to open the file?
Note: I tried with escape character "\" also.
You can use "--" to indicate that all the other arguments are file
n
.
>
Haven't followed the thread but
:syntax sync fromstart
usually works fine for me
[snip]
--
For robots (please don't mail me there): [EMAIL PROTECTED]
My real email is ilya @ same domain
Peter Hodge wrote:
--- Nick Gravgaard <[EMAIL PROTECTED]> wrote:
Hi Zdenek,
On 30/10/06, Zdenek Sekera <[EMAIL PROTECTED]> wrote:
Hi, Nick,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Gravgaard
Sent: 19 October 2006 13:42
To:
A.J.Mechelynck wrote:
> Ilya Sher wrote:
>> A.J.Mechelynck wrote:
>>> Alexey I. Froloff wrote:
>>>> * Bram Moolenaar [061022 17:41]:
>>>>> I don't want to support that, because it causes mistakes. Consider
>>>>> being in Insert mo
specially for o and n)
which is almost always not true for vim users.
Assumption that people use keyboard mappings
where is far away is true most of the time
but not always. (Common exception is caps lock
generating ).
[snip]
--
For robots (please don't mail me there): [EMAIL PROTECTED]
My real email is ilya @ same domain
Edward L. Fox wrote:
In my opinion, this kind of work shouldn't be done by hacking the
source code of VIM. You can use a vim script to call the synax
highlighting engine to convert the text into HTML code, and copy the
converted code into the clipboard with a DLL add-on (as we know, GVim
supports
Yakov Lerner wrote:
[...]
I mean, I tried 'ls c:\windows' in cygwin and it does not work ..
strange is it issue of version of cygwin ? I saw even
weirder differences in cygwin behaviour ... fat32 vs ntfs differences...
Maybe this is because \ have a special meaning for bash or some othe
Peter Hodge wrote:
Thanks for your help, I had another look and found out you need another syntax
command to reproduce it properly. Here is the revised bug report
Start vim using
vim -u NONE
insert the following test code (note that the 4th line must be indented).
array($foo)
is_array
Peter Hodge wrote:
Hello,
I have discovered that it is possible for a syntax region to overlap a syntax
keyword, even though the region is not contained in the keyword. Take the
following code example and apply the syntax commands below:
TEST CODE:
(is_array($foo))
( is_array($foo)
Marc Weber wrote:
When doing something like
map(["a","b"],"matchstr(v:val, "\(.\)"))
will the regular expression "\(.\)" be compiled on every iteration?
How about this:
for l in lines
if l =~"regex"
...
?
How about :help profile ? ;)
[...]
Tony.
--
For robots (please don't mail me there): [EMAIL PROTECTED]
My real email is ilya @ same domain
Hello.
I've found bug in highlighting when matchparen is used. Not sure it is
because of a matchparen thought.
Test case
=
gvim
i{}hO
Now I can see first line with one character background been highlighted
and an insert cursor over it and '{}' on a second line, both highlighted.
N
tax.c that
was modified by my previous patch from "extend inside normal inside
keepend" e-mail.
Ilya Bobir
Index: syntax.c
===
RCS file: /cvsroot/vim/vim7/src/syntax.c,v
retrieving revision 1.62
diff -c -r1.62 syntax
ere is a patch for syntax.c that does this check. I'm getting correct
behavior with this patch for my test case.
--
Ilya Bobir
Index: syntax.c
===
RCS file: /cvsroot/vim/vim7/src/syntax.c,v
retrieving revision 1.62
diff -c -
Mark Manning wrote:
I'm working in FreeBasic and some C and some Perl. This is one of the
fixes in the basic.vim thing I'm doing and I saw the same thing in the
c.vim file and thought they would give the same incorrect
highlighting. I ran into this (for C) while working at NASA and
thought I
scott wrote:
[...]
why would cindent kick in if i'm not editing c?
[...]
Maybe you set it yourself or some plugin set it for you. A.J.Mechelynck
proposed you really good thing. Remove code that turns cindent off,
restart vim and type
:verbose set cindent?
and you will see where t
Yakov Lerner wrote:
On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> When I removed both 'keepend' and 'extend', it
> started to work as expected.
No, it would not work as I want it to. Block would not end unclosed
String. Like this:
{ Some
Yakov Lerner wrote:
On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> On 9/2/06, Ilya <[EMAIL PROTECTED]> wrote:
>> Hello.
>>
>> I have a question regarding syntax matching. I have some kind of
syntax
>> and I have some solution to highli
Yakov Lerner wrote:
On 9/2/06, Ilya <[EMAIL PROTECTED]> wrote:
Hello.
I have a question regarding syntax matching. I have some kind of syntax
and I have some solution to highlight it, but it does not work the way I
expect it to.
What I want: match syntax that consists of blocks (enclo
Sorry for duplicating, but my mailer for some reason removed several
spaces from my "pictures".
Yakov Lerner wrote:
On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> When I removed both 'keepend' and 'extend', it
> started to work as ex
Yakov Lerner wrote:
On 9/3/06, Ilya <[EMAIL PROTECTED]> wrote:
Yakov Lerner wrote:
> When I removed both 'keepend' and 'extend', it
> started to work as expected.
No, it would not work as I want it to. Block would not end unclosed
String. Like this:
{ Some
Yakov Lerner wrote:
When I removed both 'keepend' and 'extend', it
started to work as expected.
No, it would not work as I want it to. Block would not end unclosed
String. Like this:
{ Some string with a quote ( " ) inside }
With ''kepend extend', it
apparently takes identifier-closing brac
1.vim and test code is in 1.vim.test so you
may try it on your vim with
vim -s 1.vim 1.vim.test
Ilya
1.vim
Description: application/octetstream
{
"string ${var} string"
}
Benji Fisher wrote:
On Fri, Sep 01, 2006 at 09:36:55AM +0300, Ilya wrote:
David Brown wrote:
[...]
However, tex.vim frequently will enclose large sections of the document
within a region and the cweb.vim which the webCRegion is not part of.
I think I can fix this by adding an
David Brown wrote:
I'm trying to get cweb.vim to work better, and am not sure how to go
about this.
Most of a cweb file is regular TeX (or LaTeX), with some occasional
regions
that are C code. The way it is implemented now, works with simple
constructs.
However, tex.vim frequently will encl
Alexey I. Froloff wrote:
filetype.vim looks like:
augroup filetypedetect
...
" Generic configuration file (check this last, it's just guessing!)
au BufNewFile,BufRead,StdinReadPost *
\ ... some files are being setf'ed to "conf"
" Use the plugin-filetype checks last, they may overrule
Brad Beveridge wrote:
On 26/08/06, Brad Beveridge <[EMAIL PROTECTED]> wrote:
Cheers
Brad
Hi, sorry for all the trouble :) I'm having redraw issues, where
running this code to append chars is causing strange problems.
The scenario is this (always using the code below for char output):
1) Wri
Mohsin wrote:
I want to use a highlighter mode on my text file, example:
:color_region bold line1 col1 line2 col2
:color_region bold 5 5 6 6
:color_region underline 5 5 6 6
I couldn't do this in vim. Vim only has syntax coloring with regexps.
Emacs has functions to apply properties to text
Denis Perelyubskiy wrote:
hello,
I am trying to emulate textpad. In textpad, when cursor is over some
word and you press ctrl-f5 the search box pops up, and a word is in the
input area.
So, an equivalent behavior (at least for now :-)) in vim is to press
ctrl-f5 and have a word show up in the s
Ilya wrote:
A.J.Mechelynck wrote:
I prefer answers given on the command-line (with "more" if necessary)
to appear in the default colors with the following exceptions:
- It's OK for titles (as in the listing of autocommands) to appear in
another colour;
- It's OK for the
A.J.Mechelynck wrote:
I prefer answers given on the command-line (with "more" if necessary)
to appear in the default colors with the following exceptions:
- It's OK for titles (as in the listing of autocommands) to appear in
another colour;
- It's OK for the "xxx" of ":highlight" display to ap
Nikolai Weibull wrote:
I am the maintainer of compiler/gcc.vim and I would like to propose
the following change to its errorformat:
@@ -20,7 +20,8 @@ setlocal errorformat=
\\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Lea
Nikolai Weibull wrote:
I am the maintainer of compiler/gcc.vim and I would like to propose
the following change to its errorformat:
@@ -20,7 +20,8 @@ setlocal errorformat=
\\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Lea
gvim –u NONE –U NONE
Create file with 100 empty lines, line with {, 20 empty lines and line
with }:
:exe "normal i{\}\20O\j%100O\j%"
Turn on matchparen plugin:
:set nocp
:source $VIMRUNTIME/plugin/matchparen.vim
Now cursor should be on the }, this line is the lowest line in the
[EMAIL PROTECTED] wrote:
All,
I mentioned this problem once on the list before; however, the issue
wasn't reproducible. Now I found a way to consistently reproduce it.
1. Open a new plain vim in a terminal.
2. ":h" to open a help window.
3. ":wincmd o" to close all other windows except the help
Hello.
As it was discussed earlier, on MS VC++ 2005 additional defines is
required in order to use some of the standard C library functions
without warnings. This defines should be done before inclusion of a
windows.h header. This defines was added into vim.h. In if_ole.cpp
vim.h is includ
Hello.
In Make_mvc.make there is such a sequence of characters that is
understood ok by make but, because of a rough syntax definition, vim
treats this sequence as a start of a character literal and highlights
half of the file as a string. Fixing this issue inside syntax
definition is not th
Bram Moolenaar wrote:
Mathias Michaelis wrote:
Patch
Problem:IMHO .pdb files should reside in the same directory as the
corresponding .exe files so they can be distributet along
with them.
Solution: Change one line within src/Make_mvc.mak
Files: src/Make_mv
Bram Moolenaar wrote:
[...]
I have seen a few messages on the subject. Can someone merge everything
and send me a patch for the final solution? I don't have this compiler
thus I can't try it out myself.
"Patch: gvimext.dll don't find MSVCR80.dll when built with VC8. No
context menu entries
Bram Moolenaar wrote:
In my opinion the tabline should be one line. When it wraps the UI
looks ugly. Esp. if the currently selected tab page is in the first
line.
Maybe if lines would swap, so that line with selected tab would alway be
the lowest one it would look nicer?
Eric Arnold wrote:
I found that the contents of a particular ordinal tab number was too
fluid to be of much use to me, so I concentrated on making relative
navigation easier, but I could be alone in that.
The way it stands, you can make a macro sequence from inside the
script using:
{m}isc me
Yakov Lerner wrote:
On 6/8/06, Markus Mottl <[EMAIL PROTECTED]> wrote:
Hi,
I'm new to the developer list so I don't know whether this has already
been discussed here.
One thing I encounter frequently is that I have tons of open buffers,
especially also from different projects, and I would like
Markus Mottl wrote:
Hi,
I'm new to the developer list so I don't know whether this has already
been discussed here.
One thing I encounter frequently is that I have tons of open buffers,
especially also from different projects, and I would like to switch
between sets of windows very quickly. It
Benji Fisher wrote:
Perhaps you have set 'matchpairs' so that it does not include
"[:]"?
matchpairs does include "[:]" - as by default. And brackets are
highlighted when cursor is near one of them.
Since you snipped the three sample lines, here is another
example:
long line
Benji Fisher wrote:
I can reproduce it. Perhaps we just need more explicit
instructions on how to reproduce it. Using the text above, go to the
g:loaded_autoit_completion line and (starting in Normal mode) type
$i
to reproduce.
I can see the problem in $VIMRUNTIME/plugin/ma
Hello.
I've found bug in vim version
VIM - Vi IMproved 7.0 (2006 May 7, compiled May 25 2006 04:17:33)
MS-Windows 32 bit GUI version with OLE support
Included patches: 1-17
In case incremental search is on, tab line some times is not visible.
Steps to reproduce:
gvim -u NONE -U NONE
:e 1.txt
Jared wrote:
[...]
When I'm in Insert mode and moving across lines, if the cursor passes over a
paren (defined here as any character in the matchpairs option), the cursor
will stay in the column position when moving to the next line. See the
following code for an example:
let g:loaded_autoit_co
Mathias Michaelis wrote:
Hello Vim List
I have a similar problem with the final vim 7.0, if I try to compile
it with Microsoft Visual Studio 2005 Express Edition. I don't get a
runtime error, but simply get no "Edit with vim ..." context menu
entries when I right-click on any file.
Solution
Mohsin wrote:
I am trying to use the ':py' interface to evaluate text under cursor
and show
the result in a balloon text. I got the python and vim code to work
easily,
however I have problem communicating between the two (py and vim):
1. How do I access vim variables in py commands
(like t
Yakov Lerner wrote:
[...]
Note that :py commands are not available in the sandbox.
I dont know whether Balloon function is executed in the
sandbox. Maybe it is not (then :py is available in the Balloon func),
maybe it is (then :py is not available in the Balloon func). If you
find out, I'm intere
Eric Arnold wrote:
BTW, I can't get WinDbg to recognize the .pdb files, although I've set
the Symbol path to the directory containing them. Is there some trick
to this?
IIRU, you should set Symbol path one directory higher. At least this is
true for Windows symbols. Thous are extracted to
Ilya wrote:
Linsong wrote:
Martin Stubenschrott wrote:
But I am still not very clear why the first entry in the menu is not
highlighted? Is it not reasonable? I don't get any point that
highlighting the first entry will make the behavior unreasonable. I
think there shoud be an very
Linsong wrote:
Martin Stubenschrott wrote:
But I am still not very clear why the first entry in the menu is not
highlighted? Is it not reasonable? I don't get any point that
highlighting the first entry will make the behavior unreasonable. I
think there shoud be an very good reason and I rea
Bram Moolenaar wrote:
Since we are talking about completion, there is only one word to be
completed "toLowerCase". That it can have different arguments doesn't
matter for inserting "toLowerCase". You could have a function name ten
times and need to type CTRL-N ten times to get to another word.
67 matches
Mail list logo