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. |
||
---|---|---|
.. | ||
ftplugin | ||
lua | ||
queries/c_sharp | ||
default.nix | ||
init.lua | ||
lsp.lua | ||
README.md |
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:
The theme I'm using is catppuccin in case you're curious.