Avoids confusion: `vim-full`'s build-time features are configurable, but both `vim` and `vim-full` are *customizable* (in the sense of user configuration).
···1010- Vim packages (*recommended*)
1111- vim-plug (vim only)
12121313+Right now two Vim packages are available: `vim` which has most features that require extra
1414+dependencies disabled and `vim-full` which has them configurable and enabled by default.
1515+1616+::: {.note}
1717+`vim_configurable` is a deprecated alias for `vim-full` and refers to the fact that its
1818+build-time features are configurable. It has nothing to do with user configuration,
1919+and both the `vim` and `vim-full` packages can be customized as explained in the next section.
2020+:::
2121+1322## Custom configuration {#custom-configuration}
14231524Adding custom .vimrc lines can be done using the following code:
16251726```nix
1818-vim_configurable.customize {
2727+vim-full.customize {
1928 # `name` optionally specifies the name of the executable and package
2029 name = "vim-with-plugins";
2130···6271To store your plugins in Vim packages (the native Vim plugin manager, see `:help packages`) the following example can be used:
63726473```nix
6565-vim_configurable.customize {
7474+vim-full.customize {
6675 vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
6776 # loaded on launch
6877 start = [ youcompleteme fugitive ];
···101110```nix
102111{
103112 packageOverrides = pkgs: with pkgs; {
104104- myVim = vim_configurable.customize {
113113+ myVim = vim-full.customize {
105114 # `name` specifies the name of the executable and package
106115 name = "vim-with-plugins";
107116 # add here code from the example section
···190199plugins the following example can be used:
191200192201```nix
193193-vim_configurable.customize {
202202+vim-full.customize {
194203 vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
195204 # loaded on launch
196205 plug.plugins = [ youcompleteme fugitive phpCompletion elm-vim ];
···160160 <itemizedlist>
161161 <listitem>
162162 <para>
163163+ <literal>vim_configurable</literal> has been renamed to
164164+ <literal>vim-full</literal> to avoid confusion:
165165+ <literal>vim-full</literal>’s build-time features are
166166+ configurable, but both <literal>vim</literal> and
167167+ <literal>vim-full</literal> are
168168+ <emphasis>customizable</emphasis> (in the sense of user
169169+ configuration, like vimrc).
170170+ </para>
171171+ </listitem>
172172+ <listitem>
173173+ <para>
163174 The module for the application firewall
164175 <literal>opensnitch</literal> got the ability to configure
165176 rules. Available as
+2
nixos/doc/manual/release-notes/rl-2305.section.md
···49495050<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
51515252+- `vim_configurable` has been renamed to `vim-full` to avoid confusion: `vim-full`'s build-time features are configurable, but both `vim` and `vim-full` are *customizable* (in the sense of user configuration, like vimrc).
5353+5254- The module for the application firewall `opensnitch` got the ability to configure rules. Available as [services.opensnitch.rules](#opt-services.opensnitch.rules)
53555456- `services.mastodon` gained a tootctl wrapped named `mastodon-tootctl` similar to `nextcloud-occ` which can be executed from any user and switches to the configured mastodon user with sudo and sources the environment variables.
···11# run tests by building `neovim.tests`
22-{ vimUtils, vim_configurable, writeText, neovim, vimPlugins
22+{ vimUtils, writeText, neovim, vimPlugins
33, lib, fetchFromGitHub, neovimUtils, wrapNeovimUnstable
44, neovim-unwrapped
55, fetchFromGitLab
+2-2
pkgs/applications/editors/spacevim/default.nix
···22, git
33, fzf
44, makeWrapper
55-, vim_configurable
55+, vim-full
66, vimPlugins
77, fetchFromGitHub
88, lib
···14141515let
1616 format = formats.toml { };
1717- vim-customized = vim_configurable.customize {
1717+ vim-customized = vim-full.customize {
1818 name = "vim";
1919 # Not clear at the moment how to import plugins such that
2020 # SpaceVim finds them and does not auto download them to
···66 makeCustomizable = macvim: macvim // {
77 # configure expects the same args as vimUtils.vimrcFile.
88 # This is the same as the value given to neovim.override { configure = … }
99- # or the value of vim_configurable.customize { vimrcConfig = … }
99+ # or the value of vim-full.customize { vimrcConfig = … }
1010 #
1111- # Note: Like neovim and vim_configurable, configuring macvim disables the
1111+ # Note: Like neovim and vim-full, configuring macvim disables the
1212 # sourcing of the user's vimrc. Use `customRC = "source $HOME/.vim/vimrc"`
1313 # if you want to preserve that behavior.
1414 configure = let
···1414Install Vim like this eg using nixos option environment.systemPackages which will provide
1515vim-with-plugins in PATH:
16161717- vim_configurable.customize {
1717+ vim-full.customize {
1818 name = "vim-with-plugins"; # optional
19192020 # add custom .vimrc lines like this:
···105105Thus the most simple usage would be:
106106107107 vim_with_plugins =
108108- let vim = vim_configurable;
108108+ let vim = vim-full;
109109 inherit (vimUtil.override {inherit vim}) rtpPath addRtp buildVimPlugin vimHelpTags;
110110 vimPlugins = [
111111 # the derivation list from the buffer created by nix#ExportPluginsForNix
···15591559 vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168
15601560 venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # Added 2021-02-05
15611561 vgo2nix = throw "vgo2nix has been removed, because it was deprecated. Consider using gomod2nix instead"; # added 2022-08-24
15621562+ vimHugeX = vim-full; # Added 2022-12-04
15631563+ vim_configurable = vim-full; # Added 2022-12-04
15621564 vimbWrapper = throw "'vimbWrapper' has been renamed to/replaced by 'vimb'"; # Converted to throw 2022-02-22
15631565 virtinst = throw "virtinst has been removed, as it's included in virt-manager"; # Added 2021-07-21
15641566 virtuoso = throw "virtuoso has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-15