2020-11-01 20:27:07 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
vimAlias = true;
|
|
|
|
defaultEditor = true;
|
2020-11-01 23:40:21 +00:00
|
|
|
configure = {
|
|
|
|
customRC = builtins.readFile ./init.vim;
|
|
|
|
packages.default.start = with pkgs.vimPlugins; [
|
|
|
|
coc-nvim
|
|
|
|
editorconfig-vim
|
|
|
|
fzf-vim
|
|
|
|
vim-airline
|
|
|
|
vim-airline-themes
|
|
|
|
vim-clang-format
|
|
|
|
vim-fetch
|
|
|
|
vim-nftables
|
|
|
|
vim-nix
|
|
|
|
vim-sensible
|
|
|
|
vim-toml
|
|
|
|
|
|
|
|
coc-go
|
|
|
|
coc-json
|
|
|
|
coc-rust-analyzer
|
|
|
|
];
|
|
|
|
};
|
2020-11-01 20:27:07 +00:00
|
|
|
};
|
2020-11-22 21:26:28 +00:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
nixpkgs-fmt
|
|
|
|
nodejs
|
|
|
|
python3Packages.python-language-server
|
|
|
|
rnix-lsp
|
|
|
|
rust-analyzer
|
|
|
|
];
|
2020-11-01 20:27:07 +00:00
|
|
|
}
|