From 4079a99fa34ae074c92d473f2a6537070d360565 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Thu, 6 Oct 2022 09:09:26 -0700 Subject: [PATCH] remove projects --- lua/configs/alpha.lua | 1 - lua/configs/nvim-tree.lua | 5 ----- lua/configs/project.lua | 13 ------------- lua/configs/telescope.lua | 1 - lua/plugins.lua | 6 ------ 5 files changed, 26 deletions(-) delete mode 100644 lua/configs/project.lua diff --git a/lua/configs/alpha.lua b/lua/configs/alpha.lua index 2dd35d6..ea7390c 100644 --- a/lua/configs/alpha.lua +++ b/lua/configs/alpha.lua @@ -12,7 +12,6 @@ function M.config() dashboard.section.buttons.val = { dashboard.button("f", "Find File", ":Telescope find_files"), dashboard.button("w", "Find Word", ":Telescope live_grep"), - dashboard.button("p", "Projects", ":Telescope projects"), dashboard.button("o", "Recent Files", ":Telescope oldfiles"), dashboard.button("e", "Open Tree", ":NvimTreeToggle"), dashboard.button("q", "Quit", ":qa"), diff --git a/lua/configs/nvim-tree.lua b/lua/configs/nvim-tree.lua index da508af..cf998f1 100644 --- a/lua/configs/nvim-tree.lua +++ b/lua/configs/nvim-tree.lua @@ -58,14 +58,9 @@ function M.config() } }, hijack_cursor = true, - -- For compatibility with project.nvim - sync_root_with_cwd = true, - respect_buf_cwd = true, update_focused_file = { enable = true, - update_root = true, }, - -- end diagnostics = { enable = false, icons = { diff --git a/lua/configs/project.lua b/lua/configs/project.lua deleted file mode 100644 index 34f9ca5..0000000 --- a/lua/configs/project.lua +++ /dev/null @@ -1,13 +0,0 @@ -local M = {} - -function M.config() - local status_ok, project = pcall(require, "project_nvim") - if not status_ok then - return - end - - project.setup {} -end - -return M - diff --git a/lua/configs/telescope.lua b/lua/configs/telescope.lua index a13a902..4ff5815 100644 --- a/lua/configs/telescope.lua +++ b/lua/configs/telescope.lua @@ -8,7 +8,6 @@ function M.config() local actions = require "telescope.actions" --telescope.load_extension "fzf" - telescope.load_extension 'projects' telescope.setup { defaults = { diff --git a/lua/plugins.lua b/lua/plugins.lua index ac6fda0..498840e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -155,12 +155,6 @@ packer.startup { config = function() require'configs.alpha'.config() end } - -- Projects - use { - 'ahmedkhalf/project.nvim', - config = function() require'configs.project'.config() end - } - -- Autopairs use { 'windwp/nvim-autopairs', config = function() require'configs.autopairs'.config() end }