Commit Graph

27 Commits

Author SHA1 Message Date
Sam Pointon
bd6051aa5f systems: also rename pkgsCross.wasi32, leaving aliases 2026-07-28 19:50:03 +01:00
Johannes Kirschbauer
ea3c357a82 doc: replace "in order to" with "to" (#523608) 2026-07-03 09:08:43 +00:00
Johannes Kirschbauer
66241985dc doc/treewide: replace "in order to" with "to"
Fixes a styleguide violation (doc/styleguide.md, "Filler Words and
Weak Phrases"). Release notes excluded.
2026-07-03 11:03:28 +02:00
Austin Horstman
a47702c9df doc/neovim: fix formatting
Ran nixfmt and saw untouched section that needed formatting.
2026-06-27 08:57:35 -05:00
Austin Horstman
f7b9e91062 doc/neovim: document plugin lua config type option
Explain the type attribute in the plugins list configuration option, showing how to specify a Lua configuration block instead of VimScript.
2026-06-27 08:57:35 -05:00
Austin Horstman
9742b211f4 doc/neovim: fix VimScript comments in examples
VimScript comments start with a double quote (") instead of a hash sign (#).
2026-06-27 08:57:35 -05:00
Austin Horstman
46689fa74a doc/neovim: correct configuration overrides example
Correct configuration overrides example to use neovim.override instead of overrideAttrs.
2026-06-27 08:57:35 -05:00
Austin Horstman
66e23f410b doc/neovim: document wrapNeovimUnstable options
Document extraPython3Packages, withPerl, vimAlias, viAlias, and extraName options for wrapNeovimUnstable.
2026-06-27 08:57:35 -05:00
Austin Horstman
df34580aae doc/neovim: document WASM treesitter parsers
Show how to use the existing wasi32 cross parser set with
wasm-enabled Neovim, and explain why native and WASM parsers
should not be mixed for one language.
2026-06-26 13:55:49 -05:00
Marc Jakobi
865a4dd05c doc: update outdated neovim-luarocks-based-plugins section 2026-06-16 22:39:42 +02:00
Austin Horstman
72a716a79c docs/neovim: add plugin license notes
Explain how to set the license for a plugin that doesn't get detected.
2026-04-27 08:17:01 -05:00
teto
7906e29937 neovim: add extraLuaPackages to wrapNeovimUnstable
This was available in makeNeovimConfig already but:
- generated wrapper arguments, which we want to avoid because it
  confuses users
- `makeNeovimConfig` relies on neovim-unwrapped in impure manner, which
  for instance caused issues in one of cases where I override
  neovim-unwrapped's luajit with a luajit with custom lua packages.
2026-03-14 13:16:58 +01:00
teto
6d49e8dff0 doc/neovim: more details on how to configure providers
see `:help provider` in neovim.

Precised what language to use in customRc
2026-02-25 02:18:57 +01:00
Marc Jakobi
5ad3a95562 doc/neovim: promote subsection headings 2026-02-12 00:05:21 +01:00
Marc Jakobi
a959a3f60c doc/neovim: update treesitter section 2026-02-11 22:48:29 +01:00
Ben Siraphob
cc5b731ed3 doc: fix typos 2025-08-27 11:46:26 -07:00
Wolfgang Walther
62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
Birdee
79794e292f Update doc/languages-frameworks/neovim.section.md
Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

Update pkgs/applications/editors/neovim/wrapper.nix

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update doc/languages-frameworks/neovim.section.md

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update doc/release-notes/rl-2511.section.md

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update doc/languages-frameworks/neovim.section.md

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update doc/release-notes/rl-2511.section.md

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update doc/release-notes/rl-2511.section.md

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-25 13:13:09 -07:00
Birdee
f81e8e68e5 Merge branch 'NixOS:master' into vim_o_exrc_support 2025-05-22 04:05:35 -07:00
BirdeeHub
b418b2aa67 neovimUtils.wrapNeovimUnstable: support vim.o.exrc 2025-04-17 07:53:08 -07:00
Pol Dellaiera
bcea0cf344 doc: update Nix code snippets format
Command: `mdcr --config doc/tests/mdcr-config.toml doc/`
2025-04-17 01:30:34 +02:00
Pol Dellaiera
5d979e79ce doc: fix various nix snippets 2025-04-17 01:30:34 +02:00
Wolfgang Walther
33afcf8ca0 doc/neovim: fix some gaps 2025-04-13 14:15:27 +02:00
Matthieu C.
3e6edb83dd vimPlugins: rename nvimSkipModule into nvimSkipModules
It's confusing to have a polymorphic behavior for nvimSkipModule and it
is an implementation detail.
Let's not force ourselves to keep supporting both types and just support
lists, which imply plural in nixpkgs (e.g. "lib.optional" vs "lib.optionals").

Support and showcase just the list format to avoid confusion.
2025-03-27 16:34:28 +01:00
Peder Bergebakken Sundt
d525eb5838 treewide: fix typos
done with `fd \\\.md$ . --type f -x typos --write-changes`
2025-02-22 02:02:07 +01:00
Matthieu Coudron
9c73444257 doc/neovim: better document the wrappers (#373805)
* doc/neovim: better document the wrappers

there is new wrapper interface `wrapNeovimUnstable` in development intended to be
easier to use than the old `wrapNeovim`. It provides new fancy features that we would like to
leverage/advertise
The interface is not definitive yet so we provide a translation layer
to avoid breaking user configurations such that `wrapNeovim` still works.
This explains why we document both at the moment with the goal to remove
the old one once we ciment the interface.

* doc/neovim: explain what buildNeovimPlugin does
2025-01-17 17:03:13 -06:00
Matthieu C.
3f2423e8a8 doc/neovim: move neovim to its own section
I wanted to add instructions on how to configure neovim via the new
wrapper but it was difficult mixing this with both the vim and old
wrapper.
Neovim differs enough from vim to warrant its own section IMO:
1. its wrapper is different (old wrapper close to vim's syntax, new one
   not so much)
2. treesitter is unique to neovim
3. the section about neovim plugins is unique to neovim as well. Not
   only that but it needs to expanded.

At some point the doc unique to vim is going to exceed vim's.
We can refer to vim's section to avoid duplication where it makes sense.
2025-01-12 23:33:32 +01:00