Zum Hauptinhalt springen
Version: 1.4

Core plugins

The configurations for core plugins are accessible through the lvim.builtin table.

Disabling core plugins

Most should contain an active attribute that can be set to false to disable the plugin

lvim.builtin.alpha.active = false
lvim.builtin.dap.active = false
caution

Disabling a plugin will not take effect until you restart lvim.

Configuring core plugins

To configure a builtin plugin, edit options in lvim.builtin.<builtin>. You can press <TAB> to get autocomplete suggestions to explore these settings.

lvim.builtin.cmp.completion.keyword_length = 2
lvim.builtin.telescope.defaults.layout_config.width = 0.95
lvim.builtin.telescope.defaults.layout_config.preview_cutoff = 75
tip

A plugin's README (and docs/ folder if it exists) typically contain excellent documentation, so it may be worthwhile to create an alias if you use them often.

Pinning

Versions of core plugins are pinned for better stability, you can disable pinning by setting an environment variable $LVIM_DEV_MODE, e.g. can be defined in ~/.local/bin/lvim