nixos-config/sets/neovim/default.nix

38 lines
679 B
Nix
Raw Normal View History

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-clang-format
vim-fetch
vim-nftables
vim-nix
vim-sensible
vim-toml
2020-12-16 21:41:11 +00:00
gruvbox
2020-11-01 23:40:21 +00:00
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
}