Hello Vim users!
You may have noticed it was a bit quiet on the Vim lists. That's
because the vim.org email server crashed and it took Stephan a few days
to make it work again. Restoring a backup turned out to be difficult,
let me know if you see something wrong.
--
Bad fashion can discourage normal people from interacting with the engineer
and talking about the cute things their children do.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/d/optout.
Sunday, June 4, 2017
Saturday, June 3, 2017
ability to job_start( vimscript code
Hi,
Just Would like to know if it is possible to job_start a vim script function or vimscript code.
Like this :
let fichierEntree=expand('$tmp/vim/src/gui.h')
let mylist = readfile(fichierEntree,'b')
let idx = 0
for line in mylist
if stridx(item,'\(TOOLBAR_BUTTON_\w\+\s\+\)\d\+')>-1
let mylist[idx] = substitute(item,'\(TOOLBAR_BUTTON_\w\+\s\+\)\d\+',submatch(1).'48',"")
endif
let idx+=1
endfor
call writefile(mylist,fichierEntree,'b')
Thanks
--
--
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/d/optout.
Just Would like to know if it is possible to job_start a vim script function or vimscript code.
Like this :
let fichierEntree=expand('$tmp/vim/src/gui.h')
let mylist = readfile(fichierEntree,'b')
let idx = 0
for line in mylist
if stridx(item,'\(TOOLBAR_BUTTON_\w\+\s\+\)\d\+')>-1
let mylist[idx] = substitute(item,'\(TOOLBAR_BUTTON_\w\+\s\+\)\d\+',submatch(1).'48',"")
endif
let idx+=1
endfor
call writefile(mylist,fichierEntree,'b')
Thanks
--
--
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/d/optout.
Friday, June 2, 2017
Re: how to prevent syntax match for repeated chars
Am Donnerstag, 1. Juni 2017 22:09:09 UTC+2 schrieb Erhy:
> Hello,
> the syntax script highlights + ++ +++
> I want highlight only for one +
for
syn match scilabArithmetic "[+-/\\*\^]\{1}"
I wrote also for each operator
e.g.
syn match scilabOverrun "[\*]\{2,}"
and assigned scilabOverrun to Error:
hi def link scilabOverrun Error
--
--
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/d/optout.
> Hello,
> the syntax script highlights + ++ +++
> I want highlight only for one +
for
syn match scilabArithmetic "[+-/\\*\^]\{1}"
I wrote also for each operator
e.g.
syn match scilabOverrun "[\*]\{2,}"
and assigned scilabOverrun to Error:
hi def link scilabOverrun Error
--
--
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/d/optout.
Thursday, June 1, 2017
Re: meaning of \= in syntax scripts
Am Donnerstag, 1. Juni 2017 20:25:35 UTC+2 schrieb ZyX:
>
> :h /\=
>
Thank you, it's so simple
Erhy
--
--
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/d/optout.
>
> :h /\=
>
Thank you, it's so simple
Erhy
--
--
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/d/optout.
how to prevent syntax match for repeated chars
Hello,
the syntax script highlights + ++ +++
I want highlight only for one +
Have you a tip for me?
Erhy
--
--
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/d/optout.
the syntax script highlights + ++ +++
I want highlight only for one +
Have you a tip for me?
Erhy
--
--
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/d/optout.
Re: meaning of \= in syntax scripts
2017-06-01 21:08 GMT+03:00 Erhy <erhard.glueck.austria@gmail.com>:
> Hello, I try to update a syntax script
> e.g.
> syn match scilabArithmetic "\.\=[*/\\]\.\="
>
> Please tell me about \=
:h /\=
>
> Thank you
> Erhy
>
> --
> --
> 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/d/optout.
--
--
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/d/optout.
> Hello, I try to update a syntax script
> e.g.
> syn match scilabArithmetic "\.\=[*/\\]\.\="
>
> Please tell me about \=
:h /\=
>
> Thank you
> Erhy
>
> --
> --
> 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/d/optout.
--
--
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/d/optout.
meaning of \= in syntax scripts
Hello, I try to update a syntax script
e.g.
syn match scilabArithmetic "\.\=[*/\\]\.\="
Please tell me about \=
Thank you
Erhy
--
--
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/d/optout.
e.g.
syn match scilabArithmetic "\.\=[*/\\]\.\="
Please tell me about \=
Thank you
Erhy
--
--
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/d/optout.
Subscribe to:
Posts (Atom)