1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-09-20 01:32:38 +00:00
dotfiles/.config/nvim/lua/plugins/neovim-project.lua

20 lines
413 B
Lua

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,
dashboard_mode = true,
filetype_autocmd_timeout = 0,
autosave_ignore_filetypes = {
"neo-tree",
"trouble",
},
})