From 5455aacdedfb2829f000b2f120a6d5194d1227f8 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sun, 22 Jan 2023 10:18:07 +0100 Subject: feat: big change on the structure of the plugins, move several things to config dir --- lua/alpha/telescope/actions.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lua/alpha/telescope/actions.lua') diff --git a/lua/alpha/telescope/actions.lua b/lua/alpha/telescope/actions.lua index e877b34..f996cf4 100644 --- a/lua/alpha/telescope/actions.lua +++ b/lua/alpha/telescope/actions.lua @@ -2,12 +2,11 @@ local M = {} local action_state = require("telescope.actions.state") local actions = require("telescope.actions") -local get_node_text = vim.treesitter.get_node_text M.create_plugin = function(prompt_bufnr) local new_plugin = action_state.get_current_line() actions.close(prompt_bufnr) - vim.cmd(string.format("edit ~/.config/nvim/lua/alpha/plugins/%s.lua", new_plugin)) + vim.cmd(string.format("edit ~/.config/nvim/lua/plugins/%s.lua", new_plugin)) end local get_disable_stm_node = function(bufnr, tree) -- cgit v1.2.3