summaryrefslogtreecommitdiffstats
path: root/after/plugin/project.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-03-09 00:09:03 -0500
committerSquibid <me@zacharyscheiman.com>2024-03-09 00:09:03 -0500
commit159027b4ce18f82cbb22e3c7ca0c0d8b436326d1 (patch)
tree30c5f5f423c3b7f09aeab81f74418643bf2bd7f8 /after/plugin/project.lua
parentdf8eb97b667198954df98dd2b0a7b96d6e593ee9 (diff)
downloadnvim-159027b4ce18f82cbb22e3c7ca0c0d8b436326d1.tar.gz
nvim-159027b4ce18f82cbb22e3c7ca0c0d8b436326d1.tar.bz2
nvim-159027b4ce18f82cbb22e3c7ca0c0d8b436326d1.zip
add fallback project detection, and change scope to tab instead of
global
Diffstat (limited to 'after/plugin/project.lua')
-rw-r--r--after/plugin/project.lua3
1 files changed, 2 insertions, 1 deletions
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"
}