···121121 this version for the entire lifecycle of the 22.11 release.
122122 </para>
123123 </listitem>
124124+ <listitem>
125125+ <para>
126126+ (Neo)Vim can not be configured with
127127+ <literal>configure.pathogen</literal> anymore to reduce
128128+ maintainance burden. Use <literal>configure.packages</literal>
129129+ instead.
130130+ </para>
131131+ </listitem>
124132 </itemizedlist>
125133 </section>
126134 <section xml:id="sec-release-22.11-notable-changes">
+3
nixos/doc/manual/release-notes/rl-2211.section.md
···5050- PHP 7.4 is no longer supported due to upstream not supporting this
5151 version for the entire lifecycle of the 22.11 release.
52525353+- (Neo)Vim can not be configured with `configure.pathogen` anymore to reduce maintainance burden.
5454+Use `configure.packages` instead.
5555+5356<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
54575558## Other Notable Changes {#sec-release-22.11-notable-changes}
+2-2
pkgs/applications/editors/neovim/tests.nix
···150150 # and do `:call deoplete#enable()`. It will print an error if the remote
151151 # plugin is not registered.
152152 test_nvim_with_remote_plugin = neovim.override {
153153- extraName = "-pathogen-remote";
154154- configure.pathogen.pluginNames = with vimPlugins; [ deoplete-nvim ];
153153+ extraName = "-remote";
154154+ configure.packages.foo.start = with vimPlugins; [ deoplete-nvim ];
155155 };
156156157157 # only neovim makes use of `requiredPlugins`, test this here
···5151 # full documentation at github.com/MarcWeber/vim-addon-manager
5252 ];
53535454- # there is a pathogen implementation as well, but its startup is slower and [VAM] has more feature
5555- # vimrcConfig.pathogen.knownPlugins = vimPlugins; # optional
5656- # vimrcConfig.pathogen.pluginNames = ["vim-addon-nix"];
5754 };
58555956WHAT IS A VIM PLUGIN?
···103100contribute to vim-pi so that plugins can be updated automatically.
104101105102106106-CREATING DERVITATIONS AUTOMATICALLY BY PLUGIN NAME
103103+CREATING DERIVATIONS AUTOMATICALLY BY PLUGIN NAME
107104==================================================
108105Most convenient is to use a ~/.vim-scripts file putting a plugin name into each line
109106as documented by [VAM]'s README.md
···277274 }:
278275279276 let
280280- /* pathogen mostly can set &rtp at startup time. Its used very commonly.
277277+ /* pathogen mostly can set &rtp at startup time. Deprecated.
281278 */
282279 pathogenImpl = let
283280 knownPlugins = pathogen.knownPlugins or vimPlugins;
284281285282 plugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) pathogen.pluginNames);
286283287287- pluginsEnv = buildEnv {
288288- name = "pathogen-plugin-env";
289289- paths = map (x: "${x}/${rtpPath}") plugins;
284284+ pathogenPackages.pathogen = lib.warn "'pathogen' attribute is deprecated. Use 'packages' instead in your vim configuration" {
285285+ start = plugins;
290286 };
291287 in
292292- ''
293293- let &rtp.=(empty(&rtp)?"":',')."${vimPlugins.vim-pathogen.rtp}"
294294- execute pathogen#infect('${pluginsEnv}/{}')
295295-296296- filetype indent plugin on | syn on
297297- '';
288288+ nativeImpl pathogenPackages;
298289299290 /* vim-plug is an extremely popular vim plugin manager.
300291 */