From aca5eff381f76bc29f25191efc281ccf50cf0e3e Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 1 Dec 2022 22:17:21 -0500 Subject: initial commit of files --- seth/programs/neovim.nix | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 seth/programs/neovim.nix (limited to 'seth/programs/neovim.nix') diff --git a/seth/programs/neovim.nix b/seth/programs/neovim.nix new file mode 100644 index 0000000..0aa6799 --- /dev/null +++ b/seth/programs/neovim.nix @@ -0,0 +1,49 @@ +{ config, lib, pkgs, ...}: + +{ + programs.neovim = { + enable = true; + extraPackages = with pkgs; [ + black + clang + codespell + nodePackages.alex + nodePackages.bash-language-server + nodePackages.prettier + nodePackages.pyright + python310Packages.flake8 + rust-analyzer + rustfmt + stylua + ]; + plugins = with pkgs.vimPlugins; [ + lualine-nvim + catppuccin-nvim + barbar-nvim + lightspeed-nvim + nvim-tree-lua + nvim-lspconfig + null-ls-nvim + plenary-nvim + nvim-treesitter + nvim-cmp + cmp-nvim-lsp + cmp-buffer + cmp-path + cmp-vsnip + vim-vsnip + luasnip + cmp_luasnip + trouble-nvim + nvim-web-devicons + telescope-nvim + gitsigns-nvim + editorconfig-nvim + ]; + }; + + xdg.configFile."nvim" = { + source = ./nvim; + recursive = true; + }; +} -- cgit v1.2.3