diff --git a/init.lua b/init.lua index d79b525..aa7c164 100644 --- a/init.lua +++ b/init.lua @@ -16,6 +16,12 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ { import = "plugins" } }) +--[[ + To add: + - https://github.com/nvim-lualine/lualine.nvim + - https://github.com/simrat39/rust-tools.nvim +]]-- + require("sets") require("remaps") diff --git a/lazy-lock.json b/lazy-lock.json index 0003378..737bb85 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -4,6 +4,7 @@ "feline.nvim": { "branch": "main", "commit": "a6bebd903e84d5ce0e97c597e0ca85cd24109002" }, "gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" }, "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" }, + "lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "230ff118613fa07138ba579b89d13ec2201530b9" }, "nui.nvim": { "branch": "main", "commit": "c9b4de623d19a85b353ff70d2ae9c77143abe69c" }, "nvim": { "branch": "main", "commit": "079500a625f3ae5aa6efb758f1a17fe4c7a57e52" }, diff --git a/lua/plugins/barbar.lua b/lua/plugins/barbar.lua deleted file mode 100644 index 2cc89d6..0000000 --- a/lua/plugins/barbar.lua +++ /dev/null @@ -1,13 +0,0 @@ -return { 'romgrk/barbar.nvim', - dependencies = { - 'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status - 'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons - }, - init = function() vim.g.barbar_auto_setup = false end, - opts = { - -- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default: - -- animation = true, - -- insert_at_start = true, - -- …etc. - }, -} diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index 54c0fee..e9112d7 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -1,11 +1,9 @@ --- TODO: set keymaps - return { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x", dependencies = { "nvim-lua/plenary.nvim", - "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended + "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, diff --git a/lua/sets.lua b/lua/sets.lua index f467a90..ef2d446 100644 --- a/lua/sets.lua +++ b/lua/sets.lua @@ -24,6 +24,9 @@ vim.opt.undodir = os.getenv("HOME") .. "/.local/state/nvim/undodir" vim.opt.undofile = true vim.opt.updatetime = 50 +-- close unused buffers +vim.opt.hidden = false + -- end search when exiting vim.opt.hlsearch = false vim.opt.incsearch = true