Comment #5 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

I tested it two ways: using my standard setup, which includes the setting of g:sh_noisk in my .vimrc, and the following command, which should eliminate anything unique to my environment.

vim -N -u NORC -i NONE --cmd 'let &rtp=$VIMRUNTIME' --cmd 'let g:is_bash=1' --cmd 'let g:sh_noisk=1' --cmd 'syntax on' foo.sh

The file foo.sh contained the line

    FOO.BAR=hello

I used the command from http://vim.sourceforge.net/tips/tip.php?tip_id=99 to determine the syntax highlighting under the cursor. Putting the cursor over the "FOO", the "." and the "BAR" all gave the same result:

    hi<shVariable> trans<shVariable> lo<Identifier>

Regards,
Gary

--
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