Oliver Zheng 写道: > I thought this would have been something Vim users would have > complained about. Emacs has a fix for it (with a few line of > configuration scripting), but it sounds like Vim's plugins cannot > extend into the editor for language-specific support. Is this correct > that this behavior cannot be reproduced in Vim with plugins? > > Regards, > Oliver >
Vim indent behavior for any specific language is scriptable of course, only c-style-indent is built-in since it is widely used. You can just disable the built-in c-style-indent and make your own indent script in ~/.vim/indent/c.vim So, I've just proved that vim is *capable* of doing what you want with some script work. The reason that you cannot do it now may have two reasons: 1. there is one script in vim.sf.net, but you cannot find it. 2. or nobody has written a script yet. Anyway, you can visit the vim homepage and registered as a vim user to vote or request new features. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
