Class chorus.Config

class chorus.Config

Chorus configuration

prelude: {[string]: any}?

Variables to inject into environment of configuration files or functions. Default:

 {
    chorus = require 'chorus',
    autocmd = require 'chorus'.autocmd,
    defer = require 'chorus'.defer,
    filetype = require 'chorus'.filetype,
    fork = require 'chorus'.fork,
    keymap = require 'chorus'.keymap,
    lazy = require 'chorus'.lazy,
    lsp = require 'chorus'.lsp,
    need = require 'chorus'.lsp,
    opt = require 'chorus'.opt,
    provide = require 'chorus'.provide
    treesitter = require 'chorus'.treesitter,
    usercmd = require 'chorus'.usercmd,
 }
[integer]: (string | asyncfun())

Files or functions to run to provide configuration. Strings may be globs. Relative paths will be expanded in vim.opt.runtimepath.