Skip to content

default loading randomTheme but not RandomThemeFavorite #6

@retzzz

Description

@retzzz

In past, the default behavior of this plugin is to load one of favorite theme from g:favorite_gui_fonts. But after I update to the latest commit, the default behavior is changed to select theme from all color themes. The problem is at the end of randomtheme.vim, the execute command is changed from executing :RandomThemeFavorite to executing :RandomTheme. Is it modified deliberately?

if s:randomOnStart != 0
    let guiRunning = has('gui_running')
    if s:randomOnStart == 2
        if guiRunning
            execute ':RandomTheme'
        endif
    elseif s:randomOnStart == 3
        if !guiRunning
            execute ':RandomTheme'
        endif
    else
        execute ':RandomTheme'
    endif
endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions