1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-15 08:01:12 +00:00
dotfiles/.config/nvim/lua/plugins/neovim-project.lua

25 lines
496 B
Lua
Raw Normal View History

2024-06-14 16:17:02 +00:00
local projects = function()
local data = require("util.files").read(os.getenv("HOME") .. "/.config/nvim/neovim-projects.json")
if data then
return vim.json.decode(data)
else
return {}
end
end
require("neovim-project").setup({
projects = projects(),
last_session_on_startup = false,
2024-08-30 09:01:28 +00:00
dashboard_mode = false,
2024-06-14 16:17:02 +00:00
filetype_autocmd_timeout = 0,
2024-08-30 09:01:28 +00:00
session_manager_opts = {
autosave_ignore_filetypes = {
"neo-tree",
"trouble",
"grug-far",
"copilot-chat",
"trouble",
},
2024-06-14 16:17:02 +00:00
},
})