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 extra1414+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 its1818+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```nix1818-vim_configurable.customize {2727+vim-full.customize {1928 # `name` optionally specifies the name of the executable and package2029 name = "vim-with-plugins";2130···7162To store your plugins in Vim packages (the native Vim plugin manager, see `:help packages`) the following example can be used:72637364```nix7474-vim_configurable.customize {6565+vim-full.customize {7566 vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {7667 # loaded on launch7768 start = [ youcompleteme fugitive ];···110101```nix111102{112103 packageOverrides = pkgs: with pkgs; {113113- myVim = vim_configurable.customize {104104+ myVim = vim-full.customize {114105 # `name` specifies the name of the executable and package115106 name = "vim-with-plugins";116107 # add here code from the example section···199190plugins the following example can be used:200191201192```nix202202-vim_configurable.customize {193193+vim-full.customize {203194 vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {204195 # loaded on launch205196 plug.plugins = [ youcompleteme fugitive phpCompletion elm-vim ];
···160160 <itemizedlist>161161 <listitem>162162 <para>163163+ <literal>vim_configurable</literal> has been renamed to164164+ <literal>vim-full</literal> to avoid confusion:165165+ <literal>vim-full</literal>’s build-time features are166166+ configurable, but both <literal>vim</literal> and167167+ <literal>vim-full</literal> are168168+ <emphasis>customizable</emphasis> (in the sense of user169169+ configuration, like vimrc).170170+ </para>171171+ </listitem>172172+ <listitem>173173+ <para>163174 The module for the application firewall164175 <literal>opensnitch</literal> got the ability to configure165176 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, vimPlugins22+{ vimUtils, writeText, neovim, vimPlugins33, lib, fetchFromGitHub, neovimUtils, wrapNeovimUnstable44, neovim-unwrapped55, fetchFromGitLab
+2-2
pkgs/applications/editors/spacevim/default.nix
···22, git33, fzf44, makeWrapper55-, vim_configurable55+, vim-full66, vimPlugins77, fetchFromGitHub88, lib···14141515let1616 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 that2020 # 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 the1111+ # Note: Like neovim and vim-full, configuring macvim disables the1212 # 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 provide1515vim-with-plugins in PATH:16161717- vim_configurable.customize {1717+ vim-full.customize {1818 name = "vim-with-plugins"; # optional19192020 # 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
+2-2
pkgs/applications/editors/vim/vimacs.nix
···11-{ lib, stdenv, config, vim_configurable, macvim, vimPlugins11+{ lib, stdenv, config, vim-full, macvim, vimPlugins22, useMacvim ? stdenv.isDarwin && (config.vimacs.macvim or true)33, vimacsExtraArgs ? "" }:4455stdenv.mkDerivation rec {66 pname = "vimacs";77 version = lib.getVersion vimPackage;88- vimPackage = if useMacvim then macvim else vim_configurable;88+ vimPackage = if useMacvim then macvim else vim-full;991010 buildInputs = [ vimPackage vimPlugins.vimacs ];1111
···15591559 vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-72342816815601560 venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # Added 2021-02-0515611561 vgo2nix = throw "vgo2nix has been removed, because it was deprecated. Consider using gomod2nix instead"; # added 2022-08-2415621562+ vimHugeX = vim-full; # Added 2022-12-0415631563+ vim_configurable = vim-full; # Added 2022-12-0415621564 vimbWrapper = throw "'vimbWrapper' has been renamed to/replaced by 'vimb'"; # Converted to throw 2022-02-2215631565 virtinst = throw "virtinst has been removed, as it's included in virt-manager"; # Added 2021-07-2115641566 virtuoso = throw "virtuoso has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-15