From 81085a304c0b99f463d1fa7027eeca372c231bf6 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 18 Jul 2023 10:55:58 +0100 Subject: [PATCH] Add index.norg as extra pattern detection for project --- lua/plugins/project.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/plugins/project.lua b/lua/plugins/project.lua index 7264d95..6efff01 100644 --- a/lua/plugins/project.lua +++ b/lua/plugins/project.lua @@ -4,6 +4,8 @@ return { event = { "BufReadPre", "BufNewFile" }, config = true, opts = { + detection_methods = { "lsp", "pattern" }, + patterns = { ".git", "_darcs", ".hg", ".bzr", ".svn", "Makefile", "package.json", "index.norg" }, ignore_lsp = { "null-ls" }, show_hidden = true, silent_chdir = true,