@@ -201,114 +201,6 @@ return {
201201 end ,
202202 },
203203
204- -- edgy.nvim (https://github.com/folke/edgy.nvim)
205- {
206- " folke/edgy.nvim" ,
207- event = " VeryLazy" ,
208- keys = {
209- {
210- " <leader>ue" ,
211- function ()
212- require (" edgy" ).toggle ()
213- end ,
214- desc = " Edgy Toggle" ,
215- },
216- -- stylua: ignore
217- { " <leader>uE" , function () require (" edgy" ).select () end , desc = " Edgy Select Window" },
218- },
219- opts = function ()
220- local opts = {
221- animate = { enabled = false },
222- bottom = {
223- {
224- ft = " noice" ,
225- size = { height = 0.4 },
226- filter = function (_ , win )
227- return vim .api .nvim_win_get_config (win ).relative == " "
228- end ,
229- },
230- " Trouble" ,
231- { ft = " qf" , title = " QuickFix" },
232- {
233- ft = " help" ,
234- size = { height = 20 },
235- -- don't open help files in edgy that we're editing
236- filter = function (buf )
237- return vim .bo [buf ].buftype == " help"
238- end ,
239- },
240- },
241- left = {},
242- right = {
243- -- { title = "Grug Far", ft = "grug-far", size = { width = 0.4 } },
244- },
245- keys = {
246- -- increase width
247- [" <c-Right>" ] = function (win )
248- win :resize (" width" , 2 )
249- end ,
250- -- decrease width
251- [" <c-Left>" ] = function (win )
252- win :resize (" width" , - 2 )
253- end ,
254- -- increase height
255- [" <c-Up>" ] = function (win )
256- win :resize (" height" , 2 )
257- end ,
258- -- decrease height
259- [" <c-Down>" ] = function (win )
260- win :resize (" height" , - 2 )
261- end ,
262- },
263- wo = {
264- winbar = false ,
265- winhighlight = " " ,
266- },
267- }
268-
269- if require (" util.init" ).has (" neo-tree.nvim" ) then
270- local sources = require (" util.init" ).opts (" neo-tree.nvim" ).sources or {}
271- local pos = {
272- filesystem = " left" ,
273- buffers = " top" ,
274- git_status = " right" ,
275- document_symbols = " bottom" ,
276- diagnostics = " bottom" ,
277- }
278- for i , v in ipairs (sources ) do
279- table.insert (opts .left , i , {
280- title = " Neo-Tree " .. v :gsub (" _" , " " ):gsub (" ^%l" , string.upper ),
281- ft = " neo-tree" ,
282- filter = function (buf )
283- return vim .b [buf ].neo_tree_source == v
284- end ,
285- pinned = true ,
286- open = function ()
287- vim .cmd ((" Neotree show position=%s %s dir=%s" ):format (pos [v ] or " bottom" , v , require (" util.root" ).get ()))
288- end ,
289- })
290- end
291- end
292-
293- -- trouble
294- for _ , pos in ipairs ({ " top" , " bottom" , " left" , " right" }) do
295- opts [pos ] = opts [pos ] or {}
296- table.insert (opts [pos ], {
297- ft = " trouble" ,
298- filter = function (_ , win )
299- return vim .w [win ].trouble
300- and vim .w [win ].trouble .position == pos
301- and vim .w [win ].trouble .type == " split"
302- and vim .w [win ].trouble .relative == " editor"
303- and not vim .w [win ].trouble_preview
304- end ,
305- })
306- end
307-
308- return opts
309- end ,
310- },
311-
312204 -- gitsigns.nvim (https://github.com/lewis6991/gitsigns.nvim)
313205 {
314206 " lewis6991/gitsigns.nvim" ,
@@ -669,7 +561,7 @@ return {
669561 follow_current_file = { enabled = true },
670562 use_libuv_file_watcher = true ,
671563 },
672- open_files_do_not_replace_types = { " edgy " , " terminal" , " Trouble" , " qf" , " Outline" , " trouble" },
564+ open_files_do_not_replace_types = { " terminal" , " Trouble" , " qf" , " Outline" , " trouble" },
673565 sources = { " filesystem" },
674566 window = {
675567 mappings = {
0 commit comments