linuxware/modules/neovim
Alexandre Cavalheiro S. Tiago da Silva 3394d5bed5
feat(neovim): enable signature help, inlay hints and virtual lines
Signature help messages will be shown automatically, for example, in the
context of you calling a method it will show a floating window above
with the signature of that specific method, i.e.
`SomeClass.SomeMethod(string firstParameter)`.

Inlay hints are extra information that the LSP may provide; in C# for
example, methods and classes will have an inlay hint showing the amount
of references that particular method/class has.

Finally, virtual lines are exactly what they sound - fake lines added
onto your editor, which are used to display diagnostics. I've also added
the community recipe that makes so virtual lines are only shown when the
active line has a diagnostic.
2025-04-23 17:01:31 -03:00
..
ftplugin feat(neovim): dynamically set the cwd for dap in dotnet debugging 2025-04-16 22:47:13 -03:00
lua feat(neovim): enable signature help, inlay hints and virtual lines 2025-04-23 17:01:31 -03:00
queries/c_sharp refactor!: restructure and document configuration 2025-03-06 05:30:47 -03:00
default.nix feat: astronvim 5.x 2025-04-16 13:27:33 -03:00
init.lua refactor!: restructure and document configuration 2025-03-06 05:30:47 -03:00
lsp.lua refactor!: restructure and document configuration 2025-03-06 05:30:47 -03:00
README.md docs: touch-ups 2025-03-06 11:27:58 -03:00

This module generates dotfiles for neovim.

The module extends programs.neovim.

Module options

programs.neovim.nixd.hostname

By default nixd is enabled, you need to pass the current machine's hostname that is used to generate your system.

programs.neovim.nixd.location

The location of your system's flake, nixd will execute an expression defined in the LSP's configuration that reads the flake's contents to evaluate NixOS and Home Manager options.

programs.neovim.ollama.enable

Whether to add an ollama package to be used with ollama.nvim.

programs.neovim.ollama.type

The type of ollama package to be added, valid options are: amd, nvidia or cpu.

My neovim failed because of package X not existing

My configuration is based off of nixos-unstable so sometimes your package may not exist or have a different name, I apologise for that but I don't plan on maintaining backwards compatibility. :(

How it looks

Here's some screenshots of how it currently looks like:

image image image

The theme I'm using is catppuccin in case you're curious.