Skip to content

Can I load multiple plugins and then configure them afterwards? #500

Answered by wbthomason
Hubro asked this question in Q&A
Discussion options

You must be logged in to vote

The typical way you'd do this is to change your spec to

use {
    "rakr/vim-one",                -- One theme (dark and light)
    "tomasr/molokai",              -- Molokai
    "arcticicestudio/nord-vim",    -- Nord
    "cocopon/iceberg.vim",         -- Iceberg
    {"morhetz/gruvbox",             -- Gruvbox
    config = function()
      vim.exec "colorscheme gruvbox"
    end},
    "ayu-theme/ayu-vim",           -- Ayu
    "folke/tokyonight.nvim",       -- TokyoNight
  }

because config keys are associated with single plugins.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Hubro
Comment options

@wbthomason
Comment options

@wbthomason
Comment options

Answer selected by Hubro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants