remove projects
This commit is contained in:
parent
a871d9d41e
commit
4079a99fa3
@ -12,7 +12,6 @@ function M.config()
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("f", "Find File", ":Telescope find_files<cr>"),
|
||||
dashboard.button("w", "Find Word", ":Telescope live_grep<cr>"),
|
||||
dashboard.button("p", "Projects", ":Telescope projects<cr>"),
|
||||
dashboard.button("o", "Recent Files", ":Telescope oldfiles<cr>"),
|
||||
dashboard.button("e", "Open Tree", ":NvimTreeToggle<cr>"),
|
||||
dashboard.button("q", "Quit", ":qa<cr>"),
|
||||
|
@ -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 = {
|
||||
|
@ -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
|
||||
|
@ -8,7 +8,6 @@ function M.config()
|
||||
|
||||
local actions = require "telescope.actions"
|
||||
--telescope.load_extension "fzf"
|
||||
telescope.load_extension 'projects'
|
||||
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
|
@ -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 }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user