mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-06-07 12:39:29 +00:00
20 lines
517 B
Nix
20 lines
517 B
Nix
{ pkgs, ... }: {
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
vimAlias = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
cmp_luasnip
|
|
cmp-nvim-lsp
|
|
luasnip # Snippet engine
|
|
neo-tree-nvim # Filesystem tree
|
|
nvim-cmp # Code completion
|
|
nvim-lspconfig
|
|
rustaceanvim # Rust support
|
|
vim-just # Syntax [just]
|
|
vim-sleuth # Indentation detection
|
|
vim-wakatime # Wakatime support
|
|
];
|
|
extraLuaConfig = builtins.readFile ../../configs/neovim.lua;
|
|
};
|
|
}
|