mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
try project
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
15
lua/custom/plugins/project.lua
Normal file
15
lua/custom/plugins/project.lua
Normal 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' },
|
||||
},
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
'notjedi/nvim-rooter.lua',
|
||||
enabled = false,
|
||||
config = function()
|
||||
require('nvim-rooter').setup {
|
||||
rooter_patterns = { '.git', 'Makefile', '=bcr' },
|
||||
|
||||
Reference in New Issue
Block a user