diff --git a/lua/config/pack.lua b/lua/config/pack.lua index a24bd02..e4e5443 100644 --- a/lua/config/pack.lua +++ b/lua/config/pack.lua @@ -1,5 +1,14 @@ vim.pack.add({ + -- Colorscheme {src = "https://github.com/ellisonleao/gruvbox.nvim"}, + -- Treesitter parsers {src = "https://github.com/nvim-treesitter/nvim-treesitter"}, + -- Preconfigured lsp's {src = "https://github.com/neovim/nvim-lspconfig"}, + -- Nice file manager + {src = "https://github.com/stevearc/oil.nvim"}, + -- Amazing neovim bundle of plugins that are super nice + {src = "https://github.com/nvim-mini/mini.nvim"}, + -- Fix the annoying neovim+lua errors + {src = "https://github.com/folke/lazydev.nvim"}, }) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index abb6c71..20726e2 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,3 +1,5 @@ require("plugins.colorscheme") require("plugins.treesitter") require("plugins.lsp") +require("plugins.oil") +require("plugins.mini") diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index c004a86..cfa3ff9 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -2,3 +2,6 @@ vim.lsp.enable({ "nixd", "lua_ls", }) + +-- fix stupid lua error with neovim +require("lazydev").setup() diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua new file mode 100644 index 0000000..71dcae0 --- /dev/null +++ b/lua/plugins/mini.lua @@ -0,0 +1 @@ +require("mini.pick").setup() diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua new file mode 100644 index 0000000..ee12680 --- /dev/null +++ b/lua/plugins/oil.lua @@ -0,0 +1 @@ +require("oil").setup() diff --git a/nvim-pack-lock.json b/nvim-pack-lock.json index b6d8b78..5292179 100644 --- a/nvim-pack-lock.json +++ b/nvim-pack-lock.json @@ -4,6 +4,14 @@ "rev": "5e0a460", "src": "https://github.com/ellisonleao/gruvbox.nvim" }, + "lazydev.nvim": { + "rev": "e28ce52", + "src": "https://github.com/folke/lazydev.nvim" + }, + "mini.nvim": { + "rev": "14145d3", + "src": "https://github.com/nvim-mini/mini.nvim" + }, "nvim-lspconfig": { "rev": "ac98db2", "src": "https://github.com/neovim/nvim-lspconfig" @@ -11,6 +19,10 @@ "nvim-treesitter": { "rev": "42fc28ba", "src": "https://github.com/nvim-treesitter/nvim-treesitter" + }, + "oil.nvim": { + "rev": "7e1cd77", + "src": "https://github.com/stevearc/oil.nvim" } } } \ No newline at end of file