HermitNix_DEPRECATED/Users/Sara/neovim.nix

28 lines
460 B
Nix
Raw Normal View History

2023-11-06 19:14:02 +00:00
{ config, pkgs, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
coc = {
enable = true;
};
# VimRC
extraConfig = ''
set background=dark
colorscheme PaperColor
'';
extraLuaConfig = ''
print("Welcome to Vim Sara! :3")
'';
# Plugins
plugins = with pkgs.vimPlugins; [
vim-nix
nvim-treesitter-parsers.cpp
papercolor-theme
];
};
}