Updated config for neovim-project

This commit is contained in:
2024-03-25 00:57:32 +01:00
parent 10deb92566
commit d3187695b3

View File

@@ -1,6 +1,8 @@
--- @type LazyPluginSpec --- @type LazyPluginSpec
return { return {
"coffebar/neovim-project", "TakenMC/neovim-project",
-- "coffebar/neovim-project",
branch = "projetloadcommand",
priority = 100, priority = 100,
dependencies = { dependencies = {
{ "nvim-lua/plenary.nvim" }, { "nvim-lua/plenary.nvim" },
@@ -13,17 +15,17 @@ return {
config = function() config = function()
local project = require("neovim-project") local project = require("neovim-project")
local smconfig = require("session_manager.config") local smconfig = require("session_manager.config")
local sessionmanager = require("session_manager")
project.setup({ project.setup({
projects = { projects = {
"~/git/*", "~/git/*",
"~/.config/nvim", "~/.config/nvim",
}, },
}) last_session_on_startup = false,
dashboard_mode = true,
sessionmanager.setup({ session_manager_opts = {
autoload_mode = smconfig.AutoloadMode.Disabled, autoload_mode = smconfig.AutoloadMode.Disabled,
},
}) })
vim.keymap.set( vim.keymap.set(