Comment #3 on issue 215 by [email protected]: ft=sh highlighting thinks . is a valid character in variable names.
http://code.google.com/p/vim/issues/detail?id=215

"""
The Korn shell has . in variable names; bash doesn't AFAICT, but sh.vim anticipates the problem: if you put this in your .vimrc

    let g:sh_noisk = 1

"." will no longer be part of keywords.
"""---John.B

It seems to me that the Korn shell is far less common than the Bourne Shell or the Bourne Again Shell, both of which do not allow '.'. As such, the Korn shell is the special case, for which something like 'let g:sh_nu_metal = 1' should be necessary to /add/ '.' to variable names. The default behaviour should not include '.'.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui