nixos-config/sets/neovim/default.nix

30 lines
539 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-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
};
}