Hi everyone,

I'm not sure that's right way to do this, but here's the thing. I want to 
switch my Vim between dark scheme and light scheme. However, the 
`colorscheme` is not the only thing that should be switched. I want to 
switch the font, and indent guides color as well. So I've came up with this 
function:

    fun! DarkScheme()
        colorscheme molokai
        set gfn=Monaco\ 10
        call DarkIndentGuides()
    endf

But when I'm using external monitor, I want my font to be bigger than 10. So 
I 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!

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

Reply via email to