about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2022-03-29 13:25:16 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2022-03-29 13:25:16 +0200
commit25c014324ba0657681bec17f25d5f70fc9e411e8 (patch)
tree459447bd1aecd39a5db9e5bb84e2de0aac687dd7 /doc
parentdee8f27129a5d7f54d769289595adfee33307219 (diff)
parent22773bb820a745a5d442012acac0d4c61bc76242 (diff)
downloadnixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.tar
nixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.tar.gz
nixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.tar.bz2
nixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.tar.lz
nixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.tar.xz
nixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.tar.zst
nixlib-25c014324ba0657681bec17f25d5f70fc9e411e8.zip
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/vim.section.md5
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: