summaryrefslogtreecommitdiffstats
path: root/after/plugin/project.lua
blob: 0f61ec03acda54488937b4682c54fabcf9457ce7 (plain) (blame)
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", "lsp" },
  patterns = {
    ".git",
    "Makefile",
    "_darcs",
    ".hg",
    ".bzr",
    ".svn",
    "package.json",
    "index.norg"
  },
  show_hidden = false,
  scope = "tab"
}