mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-14 15:51:13 +00:00
20 lines
413 B
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",
|
||
|
},
|
||
|
})
|