39 lines
841 B
Nix
39 lines
841 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
withPython3 = true;
|
|
defaultEditor = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
vim-nix
|
|
rust-vim
|
|
rustaceanvim
|
|
nvim-cmp
|
|
cmp-nvim-lsp
|
|
snippets-nvim
|
|
nvim-treesitter
|
|
nvim-treesitter-parsers.rust
|
|
nvim-treesitter-parsers.lua
|
|
nvim-treesitter-parsers.toml
|
|
nvim-treesitter-parsers.python
|
|
nvim-lspconfig
|
|
nvim-lsputils
|
|
fzf-vim
|
|
vim-sleuth
|
|
whitespace-nvim # ,t to trim whitespace
|
|
vimsence
|
|
vim-wordy #:Wordy [kind], :NoWordy
|
|
vim-pencil #:Pencil, :NoPencil
|
|
telescope-nvim
|
|
plenary-nvim
|
|
];
|
|
extraPackages = with pkgs; [
|
|
ruff
|
|
ty
|
|
];
|
|
initLua = (builtins.readFile ./rcfiles/neovim.lua);
|
|
};
|
|
}
|