From b9f726404fce2f5db8bfec713ed3e053537586ad Mon Sep 17 00:00:00 2001 From: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:54:58 +0300 Subject: [PATCH] fix(pick): move some leftovers from `editor.lua` to `editor.telescope` (#3620) ## What is this PR for? `have_make` and `have_cmake` were left over at `/lua/plugins/editor.lua`, so move them to `extras.editor.telescope` instead. ## Does this PR fix an existing issue? No ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. --- lua/lazyvim/plugins/editor.lua | 3 --- lua/lazyvim/plugins/extras/editor/telescope.lua | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lazyvim/plugins/editor.lua b/lua/lazyvim/plugins/editor.lua index f3f9da7b..591497d6 100644 --- a/lua/lazyvim/plugins/editor.lua +++ b/lua/lazyvim/plugins/editor.lua @@ -1,6 +1,3 @@ -local have_make = vim.fn.executable("make") == 1 -local have_cmake = vim.fn.executable("cmake") == 1 - return { -- file explorer diff --git a/lua/lazyvim/plugins/extras/editor/telescope.lua b/lua/lazyvim/plugins/extras/editor/telescope.lua index c6a6a3ea..52335fa7 100644 --- a/lua/lazyvim/plugins/extras/editor/telescope.lua +++ b/lua/lazyvim/plugins/extras/editor/telescope.lua @@ -1,3 +1,6 @@ +local have_make = vim.fn.executable("make") == 1 +local have_cmake = vim.fn.executable("cmake") == 1 + ---@type LazyPicker local picker = { name = "telescope",