From b673b76f41a1f48c38acb9b67657e097e5b8a61f Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 2 Dec 2022 02:12:40 -0500 Subject: now *most* things work :p --- users/seth/programs/neovim/default.nix | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 users/seth/programs/neovim/default.nix (limited to 'users/seth/programs/neovim/default.nix') 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; + }; +} -- cgit v1.2.3