summaryrefslogtreecommitdiff
path: root/users/seth/programs/neovim/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-12 01:10:20 -0500
committerseth <[email protected]>2023-03-12 01:10:20 -0500
commitbb5a9739aee5735ee7446d6688fc1e3ca8971f3b (patch)
treea747389f9ee7dda42233db3ae8b0206fb9e12e1e /users/seth/programs/neovim/default.nix
parente94f47b956a19a44106914dccbbf88004287539f (diff)
split neovim config
Diffstat (limited to 'users/seth/programs/neovim/default.nix')
-rw-r--r--users/seth/programs/neovim/default.nix56
1 files changed, 56 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..dd08d06
--- /dev/null
+++ b/users/seth/programs/neovim/default.nix
@@ -0,0 +1,56 @@
+{pkgs, ...}: {
+ programs.neovim = {
+ enable = true;
+ defaultEditor = true;
+ extraPackages = with pkgs; [
+ alejandra
+ codespell
+ deadnix
+ llvmPackages_15.clang
+ llvmPackages_15.libclang
+ nodePackages.alex
+ nodePackages.bash-language-server
+ nodePackages.prettier
+ nodePackages.pyright
+ pylint
+ rust-analyzer
+ rustfmt
+ statix
+ stylua
+ sumneko-lua-language-server
+ yapf
+ ];
+ plugins = with pkgs.vimPlugins; [
+ barbar-nvim
+ catppuccin-nvim
+ cmp-nvim-lsp
+ cmp-buffer
+ cmp_luasnip
+ cmp-path
+ cmp-vsnip
+ editorconfig-nvim
+ gitsigns-nvim
+ leap-nvim
+ lualine-nvim
+ luasnip
+ nvim-cmp
+ nvim-lspconfig
+ null-ls-nvim
+ nvim-tree-lua
+ nvim-treesitter.withAllGrammars
+ nvim-web-devicons
+ plenary-nvim
+ telescope-nvim
+ trouble-nvim
+ vim-vsnip
+ ];
+ extraLuaConfig = ''
+ require("getchoo")
+ '';
+ };
+
+ xdg.configFile."nvim/lua/getchoo" = {
+ source = ./config;
+ recursive = true;
+ };
+}