···121 this version for the entire lifecycle of the 22.11 release.
122 </para>
123 </listitem>
00000000124 </itemizedlist>
125 </section>
126 <section xml:id="sec-release-22.11-notable-changes">
···121 this version for the entire lifecycle of the 22.11 release.
122 </para>
123 </listitem>
124+ <listitem>
125+ <para>
126+ (Neo)Vim can not be configured with
127+ <literal>configure.pathogen</literal> anymore to reduce
128+ maintainance burden. Use <literal>configure.packages</literal>
129+ instead.
130+ </para>
131+ </listitem>
132 </itemizedlist>
133 </section>
134 <section xml:id="sec-release-22.11-notable-changes">
+3
nixos/doc/manual/release-notes/rl-2211.section.md
···50- PHP 7.4 is no longer supported due to upstream not supporting this
51 version for the entire lifecycle of the 22.11 release.
5200053<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
5455## Other Notable Changes {#sec-release-22.11-notable-changes}
···50- PHP 7.4 is no longer supported due to upstream not supporting this
51 version for the entire lifecycle of the 22.11 release.
5253+- (Neo)Vim can not be configured with `configure.pathogen` anymore to reduce maintainance burden.
54+Use `configure.packages` instead.
55+56<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
5758## Other Notable Changes {#sec-release-22.11-notable-changes}
+2-2
pkgs/applications/editors/neovim/tests.nix
···150 # and do `:call deoplete#enable()`. It will print an error if the remote
151 # plugin is not registered.
152 test_nvim_with_remote_plugin = neovim.override {
153- extraName = "-pathogen-remote";
154- configure.pathogen.pluginNames = with vimPlugins; [ deoplete-nvim ];
155 };
156157 # only neovim makes use of `requiredPlugins`, test this here
···150 # and do `:call deoplete#enable()`. It will print an error if the remote
151 # plugin is not registered.
152 test_nvim_with_remote_plugin = neovim.override {
153+ extraName = "-remote";
154+ configure.packages.foo.start = with vimPlugins; [ deoplete-nvim ];
155 };
156157 # only neovim makes use of `requiredPlugins`, test this here
···51 # full documentation at github.com/MarcWeber/vim-addon-manager
52 ];
5354- # there is a pathogen implementation as well, but its startup is slower and [VAM] has more feature
55- # vimrcConfig.pathogen.knownPlugins = vimPlugins; # optional
56- # vimrcConfig.pathogen.pluginNames = ["vim-addon-nix"];
57 };
5859WHAT IS A VIM PLUGIN?
···103contribute to vim-pi so that plugins can be updated automatically.
104105106-CREATING DERVITATIONS AUTOMATICALLY BY PLUGIN NAME
107==================================================
108Most convenient is to use a ~/.vim-scripts file putting a plugin name into each line
109as documented by [VAM]'s README.md
···277 }:
278279 let
280- /* pathogen mostly can set &rtp at startup time. Its used very commonly.
281 */
282 pathogenImpl = let
283 knownPlugins = pathogen.knownPlugins or vimPlugins;
284285 plugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) pathogen.pluginNames);
286287- pluginsEnv = buildEnv {
288- name = "pathogen-plugin-env";
289- paths = map (x: "${x}/${rtpPath}") plugins;
290 };
291 in
292- ''
293- let &rtp.=(empty(&rtp)?"":',')."${vimPlugins.vim-pathogen.rtp}"
294- execute pathogen#infect('${pluginsEnv}/{}')
295-296- filetype indent plugin on | syn on
297- '';
298299 /* vim-plug is an extremely popular vim plugin manager.
300 */
···51 # full documentation at github.com/MarcWeber/vim-addon-manager
52 ];
5300054 };
5556WHAT IS A VIM PLUGIN?
···100contribute to vim-pi so that plugins can be updated automatically.
101102103+CREATING DERIVATIONS AUTOMATICALLY BY PLUGIN NAME
104==================================================
105Most convenient is to use a ~/.vim-scripts file putting a plugin name into each line
106as documented by [VAM]'s README.md
···274 }:
275276 let
277+ /* pathogen mostly can set &rtp at startup time. Deprecated.
278 */
279 pathogenImpl = let
280 knownPlugins = pathogen.knownPlugins or vimPlugins;
281282 plugins = findDependenciesRecursively (map (pluginToDrv knownPlugins) pathogen.pluginNames);
283284+ pathogenPackages.pathogen = lib.warn "'pathogen' attribute is deprecated. Use 'packages' instead in your vim configuration" {
285+ start = plugins;
0286 };
287 in
288+ nativeImpl pathogenPackages;
00000289290 /* vim-plug is an extremely popular vim plugin manager.
291 */