aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/telescope/actions.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-22 10:18:07 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-22 10:18:07 +0100
commit5455aacdedfb2829f000b2f120a6d5194d1227f8 (patch)
treeca73cfdf3b9106aab00c5acb3d239df61e9c43d9 /lua/alpha/telescope/actions.lua
parentbf157b642c2910abae1810c985817e42502000b5 (diff)
downloadnvim-conf-5455aacdedfb2829f000b2f120a6d5194d1227f8.tar.gz
nvim-conf-5455aacdedfb2829f000b2f120a6d5194d1227f8.zip
feat: big change on the structure of the plugins, move several things to config dir
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)