On Tue, Oct 18, 2011 at 10:49:36PM +0200, Bram Moolenaar wrote:
>
> Elias Diem wrote:
>
> > does the code style also apply to vim script?
>
> I would think so.
>
> > Well, here's a small patch for a vim script file.
>
> - if(has("amiga"))
> + if (has("amiga"))
>
> Even better:
>
> if has("amiga")
Nice. In this case the attached patch ``fixes'' this.
--
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
diff -r f530aef0d959 runtime/autoload/netrw.vim
--- a/runtime/autoload/netrw.vim Wed Oct 12 22:02:14 2011 +0200
+++ b/runtime/autoload/netrw.vim Wed Oct 19 10:16:26 2011 +0200
@@ -7979,7 +7979,7 @@
fun! s:ComposePath(base,subdir)
" call Dfunc("s:ComposePath(base<".a:base."> subdir<".a:subdir.">)")
- if(has("amiga"))
+ if has("amiga")
" call Decho("amiga")
let ec = a:base[s:Strlen(a:base)-1]
if ec != '/' && ec != ':'