nix/programs/neovim.nix
Markus Zoppelt d92dddfe8b chore: drop nixpkgs-unstable, take agent tools from llm-agents
Use stable nushell, nh, jujutsu, ncspot, jjui, and ghostty. Pull herdr,
hunk, and opencode2 from llm-agents so they hit the numtide cache. Remove
Go and Node LSP packages and unused sqlite.
2026-09-21 13:19:17 +02:00

37 lines
778 B
Nix

{ pkgs, lib, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
fidget-nvim
nvim-lspconfig
(nvim-treesitter.withPlugins (p: [
p.go
p.javascript
p.json
p.lua
p.nix
p.rust
p.toml
p.typescript
]))
plenary-nvim
rustaceanvim
telescope-nvim
tokyonight-nvim
];
initLua = lib.concatMapStrings builtins.readFile [
./nvim/options.lua
./nvim/keymaps.lua
./nvim/lsp.lua
./nvim/theme.lua
./nvim/plugins/fidget.lua
./nvim/plugins/rustaceanvim.lua
./nvim/plugins/telescope.lua
./nvim/plugins/treesitter.lua
];
};
}