try project

This commit is contained in:
Thomas Ruoff
2023-03-21 22:35:58 +01:00
parent aa18191c44
commit 892ddb8610
3 changed files with 17 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ return {
},
},
filesystem = {
bind_to_cwd = false,
bind_to_cwd = true, -- true creates a 2-way binding between vim's cwd and neo-tree's root
follow_current_file = true,
},
},

View File

@@ -0,0 +1,15 @@
return {
{
'ahmedkhalf/project.nvim',
config = function()
require('project_nvim').setup {
patterns = { '.git', 'Makefile', '=bcr' },
detection_methods = { 'pattern', 'lsp' },
ignore_lsp = { 'eslint', 'stylelist_lsp' },
silent_chdir = false,
}
require('telescope').load_extension 'projects'
end,
dependencies = { 'nvim-telescope/telescope.nvim' },
},
}

View File

@@ -1,5 +1,6 @@
return {
'notjedi/nvim-rooter.lua',
enabled = false,
config = function()
require('nvim-rooter').setup {
rooter_patterns = { '.git', 'Makefile', '=bcr' },