nicks-nix-config/modules/neovim.nix

46 lines
1,005 B
Nix
Raw Normal View History

2023-07-29 12:48:45 -07:00
{ pkgs, lib, ... }:
let
in
{
2023-07-29 12:48:45 -07:00
programs.nixvim = {
enable = true;
2023-07-29 12:48:45 -07:00
viAlias = true;
vimAlias = true;
#extraConfigVim = import ./../rsrcs/.vimrc;
extraPlugins = with pkgs.vimPlugins;
let
moonfly = pkgs.vimUtils.buildVimPlugin {
name = "moonfly";
src = pkgs.fetchFromGitHub {
owner = "bluz71";
repo = "vim-moonfly-colors";
rev = "d51e3ad78654aa479d59adb81a98f179d595bdee";
sha256 = "0uHEB8uNQeGpVWuZfyrVAWTyefJMCitTmNpHmKVFOaQ=";
};
};
in [
2023-07-29 12:48:45 -07:00
# Themes and statusbar
# vim-airline
# vim-airline-themes
# moonfly
#QoL features
# telescope-nvim
# nvim-treesitter
2023-07-29 12:48:45 -07:00
nvchad
nvchad-ui
# Rust
coc-rust-analyzer
coc-nvim
rust-vim
2023-07-29 12:48:45 -07:00
# Language support
vim-nix
typescript-vim
vim-javascript
];
};
2023-07-29 12:48:45 -07:00
}