Sunday, January 3, 2010

Re: Scheme language: why is ? not in word definition

Hi.

Sun, 3 Jan 2010 13:01:58 -0800, garyjohn wrote:
>> If I use * or C-W+] in a Scheme program file, the character ? is not
>> included in the selected word.

Sorry, my description was wrong:
* works, but C-W+] (e.g. on "noun?") leads to:

E426: tag not found: noun\?

Note the escape \.

> I don't know. ? should be added to 'iskeyword' in
> $VIMRUNTIME/ftplugin/lisp.vim, which is sourced by
> $VIMRUNTIME/ftplugin/scheme.vim.

Yes, iskeyword is correctly set:

:verbose set isk (in a Scheme buffer)

iskeyword=33,35-39,42-58,60-90,94,95,97-122,126,_
Last set from /usr/local/share/vim/vim72/syntax/scheme.vim


Greetings
Sven

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment