From 01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Wed, 24 Jul 2024 19:19:26 +0200 Subject: nvim: rewrite config in fennel One file isn't done, and there's also the question of ftplugin and co. One step at a time though, eh? --- dot_config/nvim/lua/plugins/neo-tree.lua | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'dot_config/nvim/lua/plugins/neo-tree.lua') diff --git a/dot_config/nvim/lua/plugins/neo-tree.lua b/dot_config/nvim/lua/plugins/neo-tree.lua index 5194d99..e97bfe0 100644 --- a/dot_config/nvim/lua/plugins/neo-tree.lua +++ b/dot_config/nvim/lua/plugins/neo-tree.lua @@ -1,21 +1,5 @@ -return { - { - 'nvim-neo-tree/neo-tree.nvim', - cmd = 'Neotree', - dependencies = { - 'nvim-lua/plenary.nvim', - 'MunifTanjim/nui.nvim', - }, - keys = { - { - 'n', - function() - require 'neo-tree.command'.execute { toggle = true } - end, - desc = 'Neotree', - }, - }, - opts = { - }, - }, -} +-- [nfnl] Compiled from fnl/plugins/neo-tree.fnl by https://github.com/Olical/nfnl, do not edit. +local function _1_() + return (require("neo-tree.command")).execute({toggle = true}) +end +return {{"nvim-neo-tree/neo-tree.nvim", cmd = "Neotree", dependencies = {"nvim-lua/plenary.nvim", "MunifTanjim/nui.nvim"}, keys = {{"n", _1_, desc = "Neotree"}}, opts = {}}} -- cgit v1.2.3