From 159027b4ce18f82cbb22e3c7ca0c0d8b436326d1 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sat, 9 Mar 2024 00:09:03 -0500 Subject: add fallback project detection, and change scope to tab instead of global --- after/plugin/project.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'after/plugin/project.lua') diff --git a/after/plugin/project.lua b/after/plugin/project.lua index f704b57..0f61ec0 100644 --- a/after/plugin/project.lua +++ b/after/plugin/project.lua @@ -4,7 +4,7 @@ if not status_ok then end project.setup { - detection_methods = { "pattern" }, + detection_methods = { "pattern", "lsp" }, patterns = { ".git", "Makefile", @@ -16,4 +16,5 @@ project.setup { "index.norg" }, show_hidden = false, + scope = "tab" } -- cgit v1.2.1