> want to pass the font size as parameter. I've tried
>
> fun! DarkScheme(n)
> colorscheme molokai
> set gfn="Monaco ".a:n
> " and set gfn="Monaco\ ".a:n
> " and also set gfn=Monaco\ a:n
> call DarkIndentGuides()
> endf
>
> but it's not working. It ignores the font size in any of these
> examples. How do I do that? Thanks!
Easiest is:
let &gfn="Monaco ".a:n
:help :let-option
Ben.
--
You received this message from the "vim_use" 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
No comments:
Post a Comment