diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-03-31 11:38:53 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-03-31 11:42:24 +0000 |
commit | 22c23dbb8de9969e8c9b898a06d2f36b10d0b809 (patch) | |
tree | 6664678d1f3ce0fcb40df35ec263d876cea83996 /doc | |
parent | 6efbd34eed5d0d04625a54ea004251ad50fa2792 (diff) | |
parent | d66b8dfa9688dacd43f0355405c530b1be2e1ab3 (diff) | |
download | nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.tar nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.tar.gz nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.tar.bz2 nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.tar.lz nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.tar.xz nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.tar.zst nixlib-22c23dbb8de9969e8c9b898a06d2f36b10d0b809.zip |
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts: pkgs/development/python-modules/google-auth-oauthlib/default.nix
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/vim.section.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index a3b47461a6bd..563fdf45a861 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -18,7 +18,7 @@ Adding custom .vimrc lines can be done using the following code: ```nix vim_configurable.customize { - # `name` specifies the name of the executable and package + # `name` optionally specifies the name of the executable and package name = "vim-with-plugins"; vimrcConfig.customRC = '' @@ -28,6 +28,9 @@ vim_configurable.customize { ``` This configuration is used when Vim is invoked with the command specified as name, in this case `vim-with-plugins`. +You can also omit `name` to customize Vim itself. See the +[definition of `vimUtils.makeCustomizable`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/plugins/vim-utils.nix#L408) +for all supported options. For Neovim the `configure` argument can be overridden to achieve the same: |