diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2022-04-16 01:04:28 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2022-04-16 01:04:28 +0200 |
commit | 8d300886400d7257fb9be41d0b85464029539ecf (patch) | |
tree | decff62ab6ad87eb889e5600b1436f71ddd982ac /lua/user/project.lua | |
parent | 110947866c59a79567ff5d64c5b13323519a91e6 (diff) |
Big update, new plugins, new everything
Diffstat (limited to 'lua/user/project.lua')
-rw-r--r-- | lua/user/project.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/user/project.lua b/lua/user/project.lua new file mode 100644 index 0000000..efb60b2 --- /dev/null +++ b/lua/user/project.lua @@ -0,0 +1,20 @@ +local status_ok, project = pcall(require, "project_nvim") +if not status_ok then + return +end + +project.setup({ + detection_methods= { 'pattern' }, + patterns = { '.git' }, + show_hidden = false, + silent_chdir = true, + manual_mode = false, + datapath = vim.fn.stdpath("data"), +}) + +local status_ok, telescope = pcall(require, "telescope") +if not status_ok then + return +end + +telescope.load_extension('projects') |