summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/TODO-edgy.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-06 20:07:41 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-06 20:07:41 +0300
commit39d19909525940cc16695ad3e7fcdb5812f744ac (patch)
tree8d5ff9c51113eb02333597be8ec240fd150cf83a /.config/nvim/lua/custom/plugins/TODO-edgy.lua
parent7166c238e8160fbffc219744b0fc96b96e889bd7 (diff)
Neovim: started rework on the conifg, changed a bunch of stuff
Diffstat (limited to '.config/nvim/lua/custom/plugins/TODO-edgy.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/TODO-edgy.lua37
1 files changed, 37 insertions, 0 deletions
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',
+ },
+ },
+ },
+}