From 1c83d4dab0148642b35175aabcdf45669737c09d Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Tue, 21 Jan 2025 20:29:54 -0600 Subject: [PATCH] add more plugins --- .gitignore | 1 + lazy-lock.json | 20 ++++++++++++++++++-- lua/config/lazy.lua | 2 +- lua/config/settings.lua | 9 +++++++-- lua/plugins/neopywal.lua | 9 --------- lua/plugins/neotree.lua | 11 +++++++++++ lua/plugins/ui.lua | 30 ++++++++++++++++++++++++++++++ 7 files changed, 68 insertions(+), 14 deletions(-) create mode 100644 .gitignore delete mode 100644 lua/plugins/neopywal.lua create mode 100644 lua/plugins/neotree.lua create mode 100644 lua/plugins/ui.lua diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e033bc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +lazy-lock.json diff --git a/lazy-lock.json b/lazy-lock.json index a6b1996..6bfad1b 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,4 +1,20 @@ { - "lazy.nvim": { "branch": "main", "commit": "703be1dda35e142e76e94e7503cf67d6b98a1d35" }, - "neopywal": { "branch": "master", "commit": "2d65d138463bbbe9d824b9bc1048ef1888017da6" } + "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, + "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" }, + "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, + "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, + "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, + "lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" }, + "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, + "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, + "neo-tree.nvim": { "branch": "main", "commit": "27abb114bcd7e9afec6fb15001b55c9cdb6c74a6" }, + "neopywal": { "branch": "master", "commit": "71615495cf1781468b7956d8d7c9e2a56717d194" }, + "nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" }, + "nvim-autopairs": { "branch": "master", "commit": "3d02855468f94bf435db41b661b58ec4f48a06b7" }, + "nvim-cmp": { "branch": "main", "commit": "8c82d0bd31299dbff7f8e780f5e06d2283de9678" }, + "nvim-lspconfig": { "branch": "master", "commit": "d1871c84b218931cc758dbbde1fec8e90c6d465c" }, + "nvim-treesitter": { "branch": "master", "commit": "07bd1b53bf465e42d53253b48b7437892d6c45e8" }, + "nvim-web-devicons": { "branch": "master", "commit": "aafa5c187a15701a7299a392b907ec15d9a7075f" }, + "plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" } } diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index f5ee74c..62eb07e 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -29,7 +29,7 @@ require("lazy").setup({ }, -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. - install = { colorscheme = { "habamax" } }, + install = { colorscheme = { "neopywal" } }, -- automatically check for plugin updates checker = { enabled = true }, }) diff --git a/lua/config/settings.lua b/lua/config/settings.lua index 5334e70..e9a44d1 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -3,6 +3,7 @@ local o = vim.o local g = vim.g o.laststatus = 3 +o.showmode = false o.clipboard = "unnamedplus" o.cursorline = true o.cursorlineopt = "number" @@ -31,10 +32,14 @@ o.splitbelow = true o.termguicolors = true opt.shortmess:append "sI" +opt.whichwrap:append "<>[]hl" +opt.fillchars = { eob = " " } o.updatetime = 250 - -opt.whichwrap:append "<>[]hl" +o.ignorecase = true +o.incsearch = true +o.smartcase = true +o.mouse = "a" g.loaded_node_provider = 0 g.loaded_python3_provider = 0 diff --git a/lua/plugins/neopywal.lua b/lua/plugins/neopywal.lua deleted file mode 100644 index 4785c3c..0000000 --- a/lua/plugins/neopywal.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - { - "RedsXDD/neopywal.nvim", - name = "neopywal", - lazy = false, - priority = 1000, - opts = {}, - } -} diff --git a/lua/plugins/neotree.lua b/lua/plugins/neotree.lua new file mode 100644 index 0000000..e826858 --- /dev/null +++ b/lua/plugins/neotree.lua @@ -0,0 +1,11 @@ +return { + { + "nvim-neo-tree/neo-tree.nvim", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-tree/nvim-web-devicons", + "MunifTanjim/nui.nvim", + -- "3rd/image.nvim", -- Optional see `# Preview Mode` for more information + } + } +} diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua new file mode 100644 index 0000000..415486c --- /dev/null +++ b/lua/plugins/ui.lua @@ -0,0 +1,30 @@ +return { + { + "RedsXDD/neopywal.nvim", + name = "neopywal", + opts = {}, + }, + { + -- Lua status-bar + "nvim-lualine/lualine.nvim", + dependencies = { "nvim-tree/nvim-web-devicons" }, + opts = { + options = { + icons_enabled = true, + theme = 'auto', + component_separators = { left = "|", right = "|"}, + section_separators = { left = "", right = ""}, + } + } + }, + { + "nvim-treesitter/nvim-treesitter", + event = { "BufReadPost", "BufNewFile" }, + opts = function() + return require "config.plugins.treesitter" + end, + config = function(_, opts) + require("nvim-treesitter.configs").setup(opts) + end, + }, +}