nvim: add config files
This commit is contained in:
20
nvim/lua/plugins/project.nvim.lua
Normal file
20
nvim/lua/plugins/project.nvim.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
'ahmedkhalf/project.nvim',
|
||||
config = function()
|
||||
local project_nvim = require('project_nvim')
|
||||
project_nvim.setup {
|
||||
manual_mode = false,
|
||||
detection_methods = { 'pattern' },
|
||||
theme = 'ivy',
|
||||
patterns = {
|
||||
'>projects',
|
||||
'.git',
|
||||
}
|
||||
}
|
||||
|
||||
local telescope = require('telescope')
|
||||
telescope.load_extension('projects')
|
||||
vim.keymap.set('n', 'fp', telescope.extensions.projects.projects, { desc = 'Find Projects' })
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user