Hi,
I want to do this in my script:

function IdentLvl(n)
    set tabstop=a:n
    set shiftwidth=a:n
    set softtabstop=a:n
endfunc

then, call IdentLvl(4).

But it simply raises an error, "a number required".   What's wrong with it?

Thanks.

-- 
Life is the only flaw in an otherwise perfect nonexistence
   -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 ([email protected])

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

Reply via email to