1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-04-02 21:19:49 +00:00
dotfiles/.config/nvim/lua/plugins/neovim-project.lua
Daniel Carrillo 7d01253a29
[neovim] replace neo-tree with snacks.nvim
Replace neo-tree.nvim with snacks.nvim for file explorer functionality and
remove several other plugins including:
- mini-animate
- mini-starter
- indent-blankline

The snacks.nvim plugin provides better file explorer, dashboard, indentation
guides, and other UI improvements in a more cohesive package.

Also removed the large file autocommand as snacks.nvim handles this with its
bigfile module.
2025-03-30 18:01:59 +02:00

25 lines
506 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 = false,
filetype_autocmd_timeout = 0,
session_manager_opts = {
autosave_ignore_filetypes = {
"snacks_picker_list",
"trouble",
"grug-far",
"copilot-chat",
"trouble",
},
},
})