aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/telescope/actions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/telescope/actions.lua')
-rw-r--r--lua/alpha/telescope/actions.lua3
1 files changed, 1 insertions, 2 deletions
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)