summaryrefslogtreecommitdiff
path: root/users/seth/programs/neovim/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2022-12-02 02:12:40 -0500
committerseth <[email protected]>2022-12-02 02:12:40 -0500
commitb673b76f41a1f48c38acb9b67657e097e5b8a61f (patch)
treefe0090a667d419d6a27544c492d1e911eb6541ff /users/seth/programs/neovim/default.nix
parentaca5eff381f76bc29f25191efc281ccf50cf0e3e (diff)
now *most* things work :p
Diffstat (limited to 'users/seth/programs/neovim/default.nix')
-rw-r--r--users/seth/programs/neovim/default.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/users/seth/programs/neovim/default.nix b/users/seth/programs/neovim/default.nix
new file mode 100644
index 0000000..94e30cb
--- /dev/null
+++ b/users/seth/programs/neovim/default.nix
@@ -0,0 +1,50 @@
+{ 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
+ sumneko-lua-language-server
+ ];
+ plugins = with pkgs.vimPlugins; [
+ lualine-nvim
+ catppuccin-nvim
+ barbar-nvim
+ lightspeed-nvim
+ nvim-tree-lua
+ nvim-lspconfig
+ null-ls-nvim
+ plenary-nvim
+ (nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
+ 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 = ./lua;
+ recursive = true;
+ };
+}