Vim/zh: Difference between revisions

Ardenet (talk | contribs)
Created page with "如需更多信息,您可以查看 [https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/vim.section.md nixpkgs 存储库上的文档]。"
Tags: Mobile edit Mobile web edit
Ardenet (talk | contribs)
Created page with "然后我们可以使用 <code>nix flake lock --update-input winresizer-vim</code> 更新软件包,或者使用 <code>nix flake update</code> 更新 flake.nix 中的所有输入。"
Line 275: Line 275:
=== 向用户包添加一个新的自定义插件 ===
=== 向用户包添加一个新的自定义插件 ===


<div lang="en" dir="ltr" class="mw-content-ltr">
有时您不想修改上游插件,为此您可以使用 <code>vimUtils.buildVimPlugin</code> 创建自己的插件:
Sometimes you do not want to change upstream plugins, for this you can use  <code>vimUtils.buildVimPlugin</code> to create your own:
</div>


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 353: Line 351:
</syntaxHighlight>
</syntaxHighlight>


<div lang="en" dir="ltr" class="mw-content-ltr">
然后我们可以使用 <code>nix flake lock --update-input winresizer-vim</code> 更新软件包,或者使用 <code>nix flake update</code> 更新 flake.nix 中的所有输入。
Then we can update the package with <code>nix flake lock --update-input winresizer-vim</code>, or update all inputs in flake.nix with <code>nix flake update</code>.
</div>


<span id="Vim_as_a_Python_IDE"></span>
<span id="Vim_as_a_Python_IDE"></span>