Vim/zh: Difference between revisions

Ardenet (talk | contribs)
Created page with "如果您需要在添加插件之前运行代码,可以使用 <code>vimrcConfig.beforePlugins</code>(如果您要覆盖 [https://github.com/NixOS/nixpkgs/blob/c3df8057dad986bf7f3928de1b5233fadb52bb15/pkgs/misc/vim-plugins/vim-utils.nix#L264-L267 默认值],请务必包含 <code>set nocompatible</code>)。"
Ardenet (talk | contribs)
Created page with "# 以下插件为可选插件,它们提供类型检查、导入排序和代码格式化功能。"
Line 373: Line 373:
(python3.withPackages(ps: [
(python3.withPackages(ps: [
   ps.python-language-server
   ps.python-language-server
   <div lang="en" dir="ltr" class="mw-content-ltr">
   # 以下插件为可选插件,它们提供类型检查、导入排序和代码格式化功能。
# the following plugins are optional, they provide type checking, import sorting and code formatting
</div>
   ps.pyls-mypy ps.pyls-isort ps.pyls-black
   ps.pyls-mypy ps.pyls-isort ps.pyls-black
]))
]))