aboutsummaryrefslogtreecommitdiff
path: root/lua/user/project.lua
blob: efb60b2de9f16193936833d12228770606cebbbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local status_ok, project = pcall(require, "project_nvim")
if not status_ok then
  return
end

project.setup({
  detection_methods= { 'pattern' },
  patterns = { '.git' },
  show_hidden = false,
  silent_chdir = true,
  manual_mode = false,
  datapath = vim.fn.stdpath("data"),
})

local status_ok, telescope = pcall(require, "telescope")
if not status_ok then
  return
end

telescope.load_extension('projects')