mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
13 lines
507 B
Lua
13 lines
507 B
Lua
if not pcall(require, "project_nvim") then
|
|
return
|
|
end
|
|
|
|
require("project_nvim").setup({
|
|
detection_methods = { "lsp", "pattern" }, -- NOTE: lsp detection will get annoying with multiple langs in one project
|
|
-- detection_methods = { "pattern" },
|
|
-- patterns used to detect root dir, when **"pattern"** is in detection_methods
|
|
patterns = { ".git", "package.json", ".venv", "Cargo.toml", "requirements.txt", "CMakeLists.txt" },
|
|
})
|
|
local telescope = require("telescope")
|
|
telescope.load_extension("projects")
|