From 39d19909525940cc16695ad3e7fcdb5812f744ac Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 6 Jul 2024 20:07:41 +0300 Subject: Neovim: started rework on the conifg, changed a bunch of stuff --- .config/nvim/lua/custom/plugins/TODO-edgy.lua | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .config/nvim/lua/custom/plugins/TODO-edgy.lua (limited to '.config/nvim/lua/custom/plugins/TODO-edgy.lua') diff --git a/.config/nvim/lua/custom/plugins/TODO-edgy.lua b/.config/nvim/lua/custom/plugins/TODO-edgy.lua new file mode 100644 index 0000000..7f01245 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/TODO-edgy.lua @@ -0,0 +1,37 @@ +return { + 'folke/edgy.nvim', + event = 'VeryLazy', + opts = { + bottom = { + 'Trouble', + { ft = 'qf', title = 'QuickFix' }, + { + ft = 'help', + size = { height = 20 }, + filter = function(buf) -- only show help buffers + return vim.bo[buf].buftype == 'help' + end, + }, + { ft = 'spectre_panel', size = { height = 0.4 } }, + }, + left = { + { + title = 'Neo-Tree', + ft = 'neo-tree', + filter = function(buf) + return vim.b[buf].neo_tree_source == 'filesystem' + end, + size = { height = 0.5 }, + }, + { + title = 'Neo-Tree Git', + ft = 'neo-tree', + filter = function(buf) + return vim.b[buf].neo_tree_source == 'git_status' + end, + pinned = true, + open = 'Neotree position=right git_status', + }, + }, + }, +} -- cgit v1.3.1