Hi,
If there is a function called Foo(), then it looks like exists('*Foo\W.*')
evaluates to 1. For example
:fun Foo
: return 1
:endfun
:echo exists('*Foo!asdf')
prints 1
This happens not just for functions, but variables etc. also. For
variables, I can work around this by
Srinath Avadhanula wrote:
If there is a function called Foo(), then it looks like exists('*Foo\W.*')
evaluates to 1. For example
:fun Foo
: return 1
:endfun
:echo exists('*Foo!asdf')
prints 1
This happens not just for functions, but variables etc. also. For
On 4/29/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
I identified which functions are slow and which are fast out of functions
called (load_dummy_buffer() + wipe_dummy_buffer()) pair.
As I wrote earlier this pair of functions is what slows down vimgrep,
not the search.
Hello Vim-Dev,
Is there any way how to count bad words in a file which is spelled? Or
any function which can show an 'error rate' of a file? For example, the
number of bad words per ten words, or a percentage of bad words in
a file. I snooped the spell.txt help file thorough and found nothing :(
Hello Vim Developers,
Compiling with MVC or Ming, the exe files are copied from
c:\vim\vim70f\src to c:\vim\vim70f (the usual place). But
running install produces the following:
[c:\vim\vim70f]install
This program sets up the installation of Vim 7.0f04 BETA
ERROR: Cannot find
On 4/29/06, Milan Berta [EMAIL PROTECTED] wrote:
Is there any way how to count bad words in a file which is spelled? Or
any function which can show an 'error rate' of a file?
The script that does what you want is below, and also attached.
Press F5 to activate.
This is sample output:
Total
Bill McCarthy wrote:
Compiling with MVC or Ming, the exe files are copied from
c:\vim\vim70f\src to c:\vim\vim70f (the usual place). But
running install produces the following:
[c:\vim\vim70f]install
This program sets up the installation of Vim 7.0f04 BETA
ERROR: Cannot
Milan Berta wrote:
I'm not sure, but I read somewhere that also pity mistakes in the
help-files should be reported. Here we go:
There is a misspelled word in spell.txt help-file at line 1569. IMHO,
there should be 'tree' instead of 'trie'.
That's actually correct. A trie is a special
Bram Moolenaar wrote:
Bill McCarthy wrote:
Compiling with MVC or Ming, the exe files are copied from
c:\vim\vim70f\src to c:\vim\vim70f (the usual place). But
running install produces the following:
[c:\vim\vim70f]install
This program sets up the