perf: balance - lazy load atac (cmd) and marks (keys) for better startup
Some checks failed
Luacheck / luacheck (push) Successful in 10s
StyLua / stylua (push) Failing after 3s

This commit is contained in:
Jeremie Fraeys 2026-02-08 15:32:32 -05:00
parent b3b5702588
commit b28fac9f8b
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,6 @@
return {
'NachoNievaG/atac.nvim',
cmd = 'Atac',
dependencies = { 'akinsho/toggleterm.nvim' },
config = function()
require('toggleterm').setup({
@ -11,7 +12,7 @@ return {
close_on_exit = true,
})
require('atac').setup({
dir = '~/Documents/projects/', -- By default, the dir will be set as /tmp/atac
dir = '~/Documents/projects/',
})
end,
}

View file

@ -1,5 +1,10 @@
return {
'chentoast/marks.nvim',
keys = {
{ 'm', mode = 'n' },
{ "'", mode = 'n' },
{ '`', mode = 'n' },
},
opts = {
default_mappings = true,
default_view = 'vertical',