File Structure for Adjusting Plugin Options

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • .dotfiles

  • I think everyone does this in their own way. I like to separate user settings and plugins in different folders inside the lua folder. And every plugin has its own config (setup, mappings, ...), so I can enable/disable them in a single place. My dots look like this.

  • dotfiles

    Personal dotfiles (by jemag)

  • There are numerous way you could go about it, I like to have the configuration of each plugin in its own file and invoke that in my packer startup, for example this would be my plugin configs files: https://github.com/jemag/dotfiles/tree/master/neovim/.config/nvim/lua/plugin-configs , each being invoked from packer : https://github.com/jemag/dotfiles/blob/master/neovim/.config/nvim/lua/plugins.lua

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nvim-conf

    ☄ Maddison's Neovim configuration!

  • I keep plugin configurations in my lua/user/plugin/ directory. If the plugin's options are short, I keep them in a file called misc.lua, otherwise I create a separate file with the name of the plugin. Check out my config to see what I mean.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts