Skip to content

Latest commit

 

History

History
60 lines (54 loc) · 1.56 KB

README.md

File metadata and controls

60 lines (54 loc) · 1.56 KB

loaded-nvim

neovim nix license

reusable flake module for Nix users who want to optimize Neovim startup performance

options

# e.g. best performance
loaded-nvim = {
  package = pkgs.neovim-unwrapped; # (default)
  did_load_ftplugin = true;
  did_indent_on = true;
  did_install_default_menus = true;
  skip_loading_mswin = true;
  loaded_gzip = true;
  loaded_man = true;
  loaded_matchit = true;
  loaded_matchparen = true;
  loaded_netrwPlugin = true;
  loaded_remote_plugins = true;
  loaded_shada_plugin = true;
  loaded_spellfile_plugin = true;
  loaded_tarPlugin = true;
  loaded_2html_plugin = true;
  loaded_tutor_mode_plugin = true;
  loaded_zipPlugin = true;
};

usage

imports = [ inputs.loaded-nvim.flakeModule ];

# set as you like (see options)
loaded-nvim = {
  # ...
};
loaded-nvim' = {
  foo = {
    # ...
  };
};

# loaded-nvim provides `loaded-nvim` and `loaded-nvim-XXXX` packages that you set up.
#
# └───packages
#     └───<system>
#         ├───loaded-nvim: package
#         └───loaded-nvim-foo: package
#
# e.g. package = self.packages.${system}.loaded-nvim;
# e.g. package = self.packages.${system}.loaded-nvim-foo;